Index: chrome/browser/ui/toolbar/app_menu_model.h |
diff --git a/chrome/browser/ui/toolbar/app_menu_model.h b/chrome/browser/ui/toolbar/app_menu_model.h |
index b9cc671ff7fd608c642a4f66aab5755872913ffe..8900a000d561489d4b0eca79534b8bdc1d59808b 100644 |
--- a/chrome/browser/ui/toolbar/app_menu_model.h |
+++ b/chrome/browser/ui/toolbar/app_menu_model.h |
@@ -75,26 +75,6 @@ enum AppMenuAction { |
LIMIT_MENU_ACTION |
}; |
-// A menu model that builds the contents of an encoding menu. |
-class EncodingMenuModel : public ui::SimpleMenuModel, |
- public ui::SimpleMenuModel::Delegate { |
- public: |
- explicit EncodingMenuModel(Browser* browser); |
- ~EncodingMenuModel() override; |
- |
- // Overridden from ui::SimpleMenuModel::Delegate: |
- bool IsCommandIdChecked(int command_id) const override; |
- bool IsCommandIdEnabled(int command_id) const override; |
- void ExecuteCommand(int command_id, int event_flags) override; |
- |
- private: |
- void Build(); |
- |
- Browser* browser_; // weak |
- |
- DISALLOW_COPY_AND_ASSIGN(EncodingMenuModel); |
-}; |
- |
// A menu model that builds the contents of the zoom menu. |
class ZoomMenuModel : public ui::SimpleMenuModel { |
public: |
@@ -115,8 +95,6 @@ class ToolsMenuModel : public ui::SimpleMenuModel { |
private: |
void Build(Browser* browser); |
- std::unique_ptr<EncodingMenuModel> encoding_menu_model_; |
- |
DISALLOW_COPY_AND_ASSIGN(ToolsMenuModel); |
}; |