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

Unified Diff: ash/sysui/shelf_delegate_mus.cc

Issue 2140963002: Added default implementations of GetAcceleratorForCommandId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@acceleratorprovider-const
Patch Set: Rebase. 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/sysui/context_menu_mus.cc ('k') | chrome/browser/apps/app_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/shelf_delegate_mus.cc
diff --git a/ash/sysui/shelf_delegate_mus.cc b/ash/sysui/shelf_delegate_mus.cc
index d679f56f644c69e6a4f945fefe9ede331a5c099e..6e9b3d3deccecec082f7f017c64f5aebba9bdbbf 100644
--- a/ash/sysui/shelf_delegate_mus.cc
+++ b/ash/sysui/shelf_delegate_mus.cc
@@ -88,11 +88,6 @@ class ShelfItemDelegateMus : public ShelfItemDelegate {
bool IsCommandIdEnabled(int command_id) const override {
return command_id > 0;
}
- bool GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) const override {
- return false;
- }
void ExecuteCommand(int command_id, int event_flags) override {
item_delegate_->user_window_controller_->ActivateUserWindow(command_id);
}
« no previous file with comments | « ash/sysui/context_menu_mus.cc ('k') | chrome/browser/apps/app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698