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

Unified Diff: content/shell/browser/shell_views.cc

Issue 2133013002: AcceleratorProvider: Make GetAcceleratorForCommandId const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix overrides on Mac and Chrome OS. Created 4 years, 5 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 | « components/translate/core/browser/options_menu_model.cc ('k') | ui/app_list/app_list_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index e8e45522b14677f9e7b7d75f60f1ce5ae06fb3e5..5dcc7751898e188bc62f0245475fa3b1bafdc8d2 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -71,7 +71,7 @@ class ContextMenuModel : public ui::SimpleMenuModel,
bool IsCommandIdChecked(int command_id) const override { return false; }
bool IsCommandIdEnabled(int command_id) const override { return true; }
bool GetAcceleratorForCommandId(int command_id,
- ui::Accelerator* accelerator) override {
+ ui::Accelerator* accelerator) const override {
return false;
}
void ExecuteCommand(int command_id, int event_flags) override {
« no previous file with comments | « components/translate/core/browser/options_menu_model.cc ('k') | ui/app_list/app_list_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698