| 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/string16.h" | 9 #include "base/string16.h" |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 - (id)init; | 33 - (id)init; |
| 34 | 34 |
| 35 - (void)setFindBarBridge:(FindBarBridge*)findBar; | 35 - (void)setFindBarBridge:(FindBarBridge*)findBar; |
| 36 | 36 |
| 37 - (IBAction)close:(id)sender; | 37 - (IBAction)close:(id)sender; |
| 38 | 38 |
| 39 - (IBAction)nextResult:(id)sender; | 39 - (IBAction)nextResult:(id)sender; |
| 40 | 40 |
| 41 - (IBAction)previousResult:(id)sender; | 41 - (IBAction)previousResult:(id)sender; |
| 42 | 42 |
| 43 // Positions the find bar based on the location of |contentArea|. | 43 // Positions the find bar based on the location of the infobar container. |
| 44 - (void)positionFindBarView:(NSView*)contentArea; | 44 // TODO(rohitrao): Move this logic into BrowserWindowController. |
| 45 - (void)positionFindBarView:(NSView*)infoBarContainerView; |
| 45 | 46 |
| 46 // Methods called from FindBarBridge. | 47 // Methods called from FindBarBridge. |
| 47 - (void)showFindBar; | 48 - (void)showFindBar; |
| 48 - (void)hideFindBar; | 49 - (void)hideFindBar; |
| 49 - (void)setFocusAndSelection; | 50 - (void)setFocusAndSelection; |
| 50 - (void)setFindText:(const string16&)findText; | 51 - (void)setFindText:(const string16&)findText; |
| 51 | 52 |
| 52 - (void)clearResults:(const FindNotificationDetails&)results; | 53 - (void)clearResults:(const FindNotificationDetails&)results; |
| 53 - (void)updateUIForFindResult:(const FindNotificationDetails&)results | 54 - (void)updateUIForFindResult:(const FindNotificationDetails&)results |
| 54 withText:(const string16&)findText; | 55 withText:(const string16&)findText; |
| 55 - (BOOL)isFindBarVisible; | 56 - (BOOL)isFindBarVisible; |
| 56 | 57 |
| 57 @end | 58 @end |
| OLD | NEW |