| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #import "chrome/browser/cocoa/find_bar_cocoa_controller.h" | 7 #import "chrome/browser/cocoa/find_bar_cocoa_controller.h" |
| 8 | 8 |
| 9 #include "base/scoped_nsobject.h" | 9 #include "base/scoped_nsobject.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // Positions the find bar based on the location of the infobar container. | 55 // Positions the find bar based on the location of the infobar container. |
| 56 // TODO(rohitrao): Move this logic into BrowserWindowController. | 56 // TODO(rohitrao): Move this logic into BrowserWindowController. |
| 57 - (void)positionFindBarView:(NSView*)infoBarContainerView; | 57 - (void)positionFindBarView:(NSView*)infoBarContainerView; |
| 58 | 58 |
| 59 // Methods called from FindBarBridge. | 59 // Methods called from FindBarBridge. |
| 60 - (void)showFindBar:(BOOL)animate; | 60 - (void)showFindBar:(BOOL)animate; |
| 61 - (void)hideFindBar:(BOOL)animate; | 61 - (void)hideFindBar:(BOOL)animate; |
| 62 - (void)stopAnimation; | 62 - (void)stopAnimation; |
| 63 - (void)setFocusAndSelection; | 63 - (void)setFocusAndSelection; |
| 64 - (void)restoreSavedFocus; | 64 - (void)restoreSavedFocus; |
| 65 - (void)setFindText:(const string16&)findText; | 65 - (void)setFindText:(NSString*)findText; |
| 66 | 66 |
| 67 - (void)clearResults:(const FindNotificationDetails&)results; | 67 - (void)clearResults:(const FindNotificationDetails&)results; |
| 68 - (void)updateUIForFindResult:(const FindNotificationDetails&)results | 68 - (void)updateUIForFindResult:(const FindNotificationDetails&)results |
| 69 withText:(const string16&)findText; | 69 withText:(const string16&)findText; |
| 70 - (BOOL)isFindBarVisible; | 70 - (BOOL)isFindBarVisible; |
| 71 | 71 |
| 72 @end | 72 @end |
| OLD | NEW |