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
--- 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)