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

Unified Diff: ash/common/shelf/shelf_alignment_menu.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/common/shelf/shelf_alignment_menu.h ('k') | ash/common/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_alignment_menu.cc
diff --git a/ash/common/shelf/shelf_alignment_menu.cc b/ash/common/shelf/shelf_alignment_menu.cc
index 574317a7e5f5597c6f13ea98d45076093b76eca0..43ee70d86958757ff4f52168f25eb30560149f02 100644
--- a/ash/common/shelf/shelf_alignment_menu.cc
+++ b/ash/common/shelf/shelf_alignment_menu.cc
@@ -45,12 +45,6 @@ bool ShelfAlignmentMenu::IsCommandIdEnabled(int command_id) const {
return true;
}
-bool ShelfAlignmentMenu::GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) const {
- return false;
-}
-
void ShelfAlignmentMenu::ExecuteCommand(int command_id, int event_flags) {
WmShell* shell = WmShell::Get();
switch (static_cast<MenuItem>(command_id)) {
« no previous file with comments | « ash/common/shelf/shelf_alignment_menu.h ('k') | ash/common/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698