Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6893)

Unified Diff: chrome/browser/ui/toolbar/app_menu_model.h

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/prefs/prefs_tab_helper.cc ('k') | chrome/browser/ui/toolbar/app_menu_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « chrome/browser/ui/prefs/prefs_tab_helper.cc ('k') | chrome/browser/ui/toolbar/app_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698