Bug 1468708 - Part 2. Remove unimplemented commands. r?masayuki draft
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Tue, 12 Jun 2018 15:05:56 -0700
changeset 807397 1b0bc96b893a1e1a3e5ff461ce1aeaf60122f16c
parent 807396 92a7e10d35475854235e57066149dea97a76f668
child 807398 952b82e043f7c4ac244b5eab62a0e0754fe92546
child 807750 42140bd2efb46b98d082e4e0989b0c0c02a27fe7
push id113090
push userbmo:m_kato@ga2.so-net.ne.jp
push dateThu, 14 Jun 2018 11:35:26 +0000
reviewersmasayuki
bugs1468708
milestone62.0a1
Bug 1468708 - Part 2. Remove unimplemented commands. r?masayuki Some commands are C++ header only, so we should remove unnecessary headers. MozReview-Commit-ID: IXP5rLTkW5v
editor/composer/nsComposerCommands.h
--- a/editor/composer/nsComposerCommands.h
+++ b/editor/composer/nsComposerCommands.h
@@ -271,30 +271,25 @@ protected:
                               bool* _retval) final;
   nsresult GetCurrentState(mozilla::HTMLEditor* aHTMLEditor,
                            nsICommandParams* aParams) final;
   nsresult ToggleState(mozilla::HTMLEditor* aHTMLEditor) final;
 };
 
 // composer commands
 
-NS_DECL_COMPOSER_COMMAND(nsCloseCommand)
 NS_DECL_COMPOSER_COMMAND(nsDocumentStateCommand)
 NS_DECL_COMPOSER_COMMAND(nsSetDocumentStateCommand)
 NS_DECL_COMPOSER_COMMAND(nsSetDocumentOptionsCommand)
-//NS_DECL_COMPOSER_COMMAND(nsPrintingCommands)
 
 NS_DECL_COMPOSER_COMMAND(nsDecreaseZIndexCommand)
 NS_DECL_COMPOSER_COMMAND(nsIncreaseZIndexCommand)
 
 // Generic commands
 
-// File menu
-NS_DECL_COMPOSER_COMMAND(nsNewCommands)   // handles 'new' anything
-
 // Edit menu
 NS_DECL_COMPOSER_COMMAND(nsPasteNoFormattingCommand)
 
 // Block transformations
 NS_DECL_COMPOSER_COMMAND(nsIndentCommand)
 NS_DECL_COMPOSER_COMMAND(nsOutdentCommand)
 
 NS_DECL_COMPOSER_COMMAND(nsRemoveListCommand)