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

Unified Diff: chrome/browser/ui/views/frame/system_menu_model_delegate.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
Index: chrome/browser/ui/views/frame/system_menu_model_delegate.cc
diff --git a/chrome/browser/ui/views/frame/system_menu_model_delegate.cc b/chrome/browser/ui/views/frame/system_menu_model_delegate.cc
index 77849cb31a9c2cf7cacec049d034a30521f12476..aa6e70552daf1ae39d468584af9052c352f7325f 100644
--- a/chrome/browser/ui/views/frame/system_menu_model_delegate.cc
+++ b/chrome/browser/ui/views/frame/system_menu_model_delegate.cc
@@ -59,8 +59,9 @@ bool SystemMenuModelDelegate::IsCommandIdEnabled(int command_id) const {
return true;
}
-bool SystemMenuModelDelegate::GetAcceleratorForCommandId(int command_id,
- ui::Accelerator* accelerator) {
+bool SystemMenuModelDelegate::GetAcceleratorForCommandId(
+ int command_id,
+ ui::Accelerator* accelerator) const {
return provider_->GetAcceleratorForCommandId(command_id, accelerator);
}
« no previous file with comments | « chrome/browser/ui/views/frame/system_menu_model_delegate.h ('k') | chrome/browser/ui/views/new_task_manager_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698