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

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

Issue 205010: Reverting 26219. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/browser/cocoa/find_bar_bridge.mm ('k') | chrome/browser/cocoa/find_bar_cocoa_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/find_bar_cocoa_controller.h
===================================================================
--- chrome/browser/cocoa/find_bar_cocoa_controller.h (revision 26230)
+++ chrome/browser/cocoa/find_bar_cocoa_controller.h (working copy)
@@ -6,11 +6,13 @@
#import "chrome/browser/cocoa/find_bar_cocoa_controller.h"
+#include "base/scoped_nsobject.h"
#include "base/string16.h"
class BrowserWindowCocoa;
class FindBarBridge;
class FindNotificationDetails;
+@class FocusTracker;
// A controller for the find bar in the browser window. Manages
// updating the state of the find bar and provides a target for the
@@ -27,6 +29,8 @@
// Needed to call methods on FindBarController.
FindBarBridge* findBarBridge_; // weak
+
+ scoped_nsobject<FocusTracker> focusTracker_;
};
// Initializes a new FindBarCocoaController.
@@ -48,6 +52,7 @@
- (void)showFindBar;
- (void)hideFindBar;
- (void)setFocusAndSelection;
+- (void)restoreSavedFocus;
- (void)setFindText:(const string16&)findText;
- (void)clearResults:(const FindNotificationDetails&)results;
« no previous file with comments | « chrome/browser/cocoa/find_bar_bridge.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