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

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

Issue 206035: Support the OS X find pasteboard on OS X. (Closed)
Patch Set: foo 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 unified diff | Download patch
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/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
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
OLDNEW
« 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