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

Side by Side Diff: chrome/browser/cocoa/find_bar_cocoa_controller.h

Issue 159776: Rewrites the Mac view resizing logic to have the BrowserWindowController... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/download_shelf_mac_unittest.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