Index: chrome/browser/ui/panels/panel_window_controller_cocoa.h |
diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.h b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
index 94df28d5650656d07b6fd555cb0caa9f7531de90..9956999e2fdf153f611a61fb85c7651326a27e20 100644 |
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
@@ -13,12 +13,14 @@ |
#import "base/mac/cocoa_protocols.h" |
#include "base/memory/scoped_ptr.h" |
+#import "chrome/browser/ui/cocoa/browser_command_executor.h" |
@class FindBarCocoaController; |
class PanelBrowserWindowCocoa; |
@class PanelTitlebarViewCocoa; |
-@interface PanelWindowControllerCocoa : NSWindowController<NSWindowDelegate> { |
+@interface PanelWindowControllerCocoa : NSWindowController<NSWindowDelegate, |
+ BrowserCommandExecutor> { |
@private |
IBOutlet PanelTitlebarViewCocoa* titlebar_view_; |
scoped_ptr<PanelBrowserWindowCocoa> windowShim_; |
@@ -52,6 +54,11 @@ class PanelBrowserWindowCocoa; |
// Accessor for titlebar view. |
- (PanelTitlebarViewCocoa*)titlebarView; |
+// Executes the command in the context of the current browser. |
+// |command| is an integer value containing one of the constants defined in the |
+// "chrome/app/chrome_command_ids.h" file. |
+- (void)executeCommand:(int)command; |
+ |
@end // @interface PanelWindowController |
#endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ |