Index: chrome/browser/ui/views/toolbar/toolbar_view.h |
diff --git a/chrome/browser/ui/views/toolbar/toolbar_view.h b/chrome/browser/ui/views/toolbar/toolbar_view.h |
index ddb43be86da7796b73e4529c01fd8f28c327ccd6..7b63cb84bb1ccf25259a6be03a8b546d2eaf1c79 100644 |
--- a/chrome/browser/ui/views/toolbar/toolbar_view.h |
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.h |
@@ -94,6 +94,9 @@ class ToolbarView : public views::AccessiblePaneView, |
void ExecuteExtensionCommand(const extensions::Extension* extension, |
const extensions::Command& command); |
+ // Returns if the given |accelerator| is registered by an extension. |
Finnur
2014/09/10 10:15:16
nit: s/if/whether/
David Tseng
2014/09/10 21:19:07
Done.
|
+ bool IsExtensionCommandRegistered(const ui::Accelerator& accelerator); |
+ |
// Shows the app (wrench) menu. |for_drop| indicates whether the menu is |
// opened for a drag-and-drop operation. |
void ShowAppMenu(bool for_drop); |