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

Unified Diff: ash/shell_unittest.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 | « ash/shell/context_menu.cc ('k') | ash/sysui/context_menu_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_unittest.cc
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index 8d659eda7f5bcac60a0d8d0c48eeb14b0cb3a445..694cc5cb0ff8415301af961e86db45216fcc6aa6 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -116,7 +116,7 @@ class SimpleMenuDelegate : public ui::SimpleMenuModel::Delegate {
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;
}
« no previous file with comments | « ash/shell/context_menu.cc ('k') | ash/sysui/context_menu_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698