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

Unified Diff: chrome/browser/renderer_context_menu/open_with_menu_factory_ash.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
Index: chrome/browser/renderer_context_menu/open_with_menu_factory_ash.h
diff --git a/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.h b/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.h
index b6e7348565468ff7f462854c0cb8bb2f2d44217c..e801f2ee36e526b9bd3ef6d12ebb4e5e20240914 100644
--- a/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.h
+++ b/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.h
@@ -36,8 +36,9 @@ class OpenWithMenuObserver : public RenderViewContextMenuObserver,
bool IsCommandIdChecked(int command_id) const override;
bool IsCommandIdEnabled(int command_id) const override;
- bool GetAcceleratorForCommandId(int command_id,
- ui::Accelerator* accelerator) override;
+ bool GetAcceleratorForCommandId(
+ int command_id,
+ ui::Accelerator* accelerator) const override;
void ExecuteCommand(int command_id, int event_flags) override;
private:

Powered by Google App Engine
This is Rietveld 408576698