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

Unified Diff: chrome/browser/ui/content_settings/content_setting_media_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: chrome/browser/ui/content_settings/content_setting_media_menu_model.cc
diff --git a/chrome/browser/ui/content_settings/content_setting_media_menu_model.cc b/chrome/browser/ui/content_settings/content_setting_media_menu_model.cc
index 87c214e47d5663f74860d97b0e91a70a862ec292..aba2b645ca349d474449d3bda73eebe4a144476c 100644
--- a/chrome/browser/ui/content_settings/content_setting_media_menu_model.cc
+++ b/chrome/browser/ui/content_settings/content_setting_media_menu_model.cc
@@ -45,12 +45,6 @@ bool ContentSettingMediaMenuModel::IsCommandIdEnabled(int command_id) const {
return true;
}
-bool ContentSettingMediaMenuModel::GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) const {
- return false;
-}
-
void ContentSettingMediaMenuModel::ExecuteCommand(int command_id,
int event_flags) {
CommandMap::const_iterator it = commands_.find(command_id);

Powered by Google App Engine
This is Rietveld 408576698