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

Unified Diff: chrome/browser/cocoa/find_bar_cocoa_controller.h

Issue 2944017: Putting the findbar into a child window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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/cocoa/find_bar_cocoa_controller.h
===================================================================
--- chrome/browser/cocoa/find_bar_cocoa_controller.h (revision 52179)
+++ chrome/browser/cocoa/find_bar_cocoa_controller.h (working copy)
@@ -40,6 +40,10 @@
// window is removed).
scoped_nsobject<NSViewAnimation> currentAnimation_;
+ // The borderless window that contains this findbar. This window will be
+ // added as a child window of the browser window.
+ scoped_nsobject<NSWindow> window_;
+
// If YES, do nothing as a result of find pasteboard update notifications.
BOOL suppressPboardUpdateActions_;
};
@@ -47,6 +51,8 @@
// Initializes a new FindBarCocoaController.
- (id)init;
+- (NSWindow*)window;
+
- (void)setFindBarBridge:(FindBarBridge*)findBar;
- (IBAction)close:(id)sender;
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/find_bar_cocoa_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698