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

Unified Diff: chrome/browser/ui/panels/panel_window_controller_cocoa.h

Issue 7538010: Make BrowserWindow::CreateFindBar non-static so that it can be overridden by Panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove underscore. Created 9 years, 4 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/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.

Powered by Google App Engine
This is Rietveld 408576698