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

Unified Diff: components/renderer_context_menu/render_view_context_menu_base.h

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 | « chrome/test/base/menu_model_test.cc ('k') | components/translate/core/browser/options_menu_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/renderer_context_menu/render_view_context_menu_base.h
diff --git a/components/renderer_context_menu/render_view_context_menu_base.h b/components/renderer_context_menu/render_view_context_menu_base.h
index 82792dd1af2c1ec1236eaf42b483f870c48abc99..d57b9dc12b7eb420d58cfc2b77a7a573f05cd047 100644
--- a/components/renderer_context_menu/render_view_context_menu_base.h
+++ b/components/renderer_context_menu/render_view_context_menu_base.h
@@ -149,8 +149,8 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate,
#endif
// Returns the accelerator for given |command_id|.
- bool GetAcceleratorForCommandId(int command_id,
- ui::Accelerator* accelerator) override = 0;
+ bool GetAcceleratorForCommandId(int command_id, ui::Accelerator* accelerator)
+ const override = 0;
// Subclasses should send notification.
virtual void NotifyMenuShown() = 0;
« no previous file with comments | « chrome/test/base/menu_model_test.cc ('k') | components/translate/core/browser/options_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698