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: ui/app_list/app_list_menu.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 | « ui/app_list/app_list_menu.h ('k') | ui/base/accelerators/accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_menu.cc
diff --git a/ui/app_list/app_list_menu.cc b/ui/app_list/app_list_menu.cc
index 4f71d21a4c54f91f58ecac5c239ff1cfc02c251d..e723e865159a3d4f74802e6a5319d02c96802731 100644
--- a/ui/app_list/app_list_menu.cc
+++ b/ui/app_list/app_list_menu.cc
@@ -73,8 +73,9 @@ bool AppListMenu::IsCommandIdEnabled(int command_id) const {
return true;
}
-bool AppListMenu::GetAcceleratorForCommandId(int command_id,
- ui::Accelerator* accelerator) {
+bool AppListMenu::GetAcceleratorForCommandId(
+ int command_id,
+ ui::Accelerator* accelerator) const {
return false;
}
« no previous file with comments | « ui/app_list/app_list_menu.h ('k') | ui/base/accelerators/accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698