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 6448d68c5ff98ed18b2776e56e9a283900e3c541..4a6908b05388798373d1141e761c99edbcaf836e 100644 |
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
@@ -14,6 +14,7 @@ |
#import "base/mac/cocoa_protocols.h" |
#include "base/memory/scoped_ptr.h" |
+@class FindBarCocoaController; |
class PanelBrowserWindowCocoa; |
@class PanelTitlebarViewCocoa; |
@@ -39,6 +40,10 @@ class PanelBrowserWindowCocoa; |
// Shows the window for the first time. Only happens once. |
- (void)revealAnimatedWithFrame:(const NSRect&)frame; |
+// Retains the given FindBarCocoaController and adds its view to this |
Dmitry Titov
2011/08/08 20:08:31
In the comment, no need to say "Retains", since t
jennb
2011/08/08 21:21:21
Oops. Forgot to update that comment. Good catch. F
|
+// Panel. Must only be called once per PanelWindowControllerCocoa. |
+- (void)addFindBar:(FindBarCocoaController*)findBarCocoaController; |
+ |
// Initiate the closing of the panel, starting from the platform-independent |
// layer. This will take care of PanelManager, other panels and close the |
// native window at the end. |