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

Unified Diff: chrome/browser/renderer_context_menu/open_with_menu_factory_ash.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/renderer_context_menu/open_with_menu_factory_ash.cc
diff --git a/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.cc b/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.cc
index c4494b2e78367b13f95c8bb1bc7a89c909d17139..6b815372f7489a47b10dd8a2cbed18a02c144ee6 100644
--- a/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.cc
+++ b/chrome/browser/renderer_context_menu/open_with_menu_factory_ash.cc
@@ -35,12 +35,6 @@ bool OpenWithMenuObserver::SubMenuDelegate::IsCommandIdEnabled(
return true;
}
-bool OpenWithMenuObserver::SubMenuDelegate::GetAcceleratorForCommandId(
- int command_id,
- ui::Accelerator* accelerator) const {
- return false;
-}
-
void OpenWithMenuObserver::SubMenuDelegate::ExecuteCommand(int command_id,
int event_flags) {
parent_->ExecuteCommand(command_id);

Powered by Google App Engine
This is Rietveld 408576698