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

Unified Diff: components/translate/core/browser/options_menu_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: components/translate/core/browser/options_menu_model.cc
diff --git a/components/translate/core/browser/options_menu_model.cc b/components/translate/core/browser/options_menu_model.cc
index f56ddb0dbe1a71a5c4706a382af3ec6551d52e8d..9f2c28994cf96ec5a32c55ec01193272faabc5b1 100644
--- a/components/translate/core/browser/options_menu_model.cc
+++ b/components/translate/core/browser/options_menu_model.cc
@@ -100,12 +100,6 @@ bool OptionsMenuModel::IsCommandIdEnabled(int command_id) const {
return true;
}
-bool OptionsMenuModel::GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) const {
- return false;
-}
-
void OptionsMenuModel::ExecuteCommand(int command_id, int event_flags) {
switch (command_id) {
case NEVER_TRANSLATE_LANGUAGE:

Powered by Google App Engine
This is Rietveld 408576698