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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.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
Index: chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc
diff --git a/chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc b/chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc
index 7f89b3accbe4317f69327855e2e7abb6823c46ed..3801f92e13ce87da2e265147578608449e9d414e 100644
--- a/chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc
@@ -46,12 +46,6 @@ bool LauncherApplicationMenuItemModel::IsCommandIdEnabled(
return launcher_items_[command_id]->IsEnabled();
}
-bool LauncherApplicationMenuItemModel::GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) const {
- return false;
-}
-
void LauncherApplicationMenuItemModel::ExecuteCommand(int command_id,
int event_flags) {
DCHECK(command_id < static_cast<int>(launcher_items_.size()));

Powered by Google App Engine
This is Rietveld 408576698