OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "base/mac/scoped_nsobject.h" | 7 #include "base/mac/scoped_nsobject.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "ui/gfx/point.h" | 9 #include "ui/gfx/geometry/point.h" |
10 | 10 |
11 class Browser; | 11 class Browser; |
12 class FindBarBridge; | 12 class FindBarBridge; |
13 @class FindBarTextField; | 13 @class FindBarTextField; |
14 class FindNotificationDetails; | 14 class FindNotificationDetails; |
15 @class FocusTracker; | 15 @class FocusTracker; |
16 | 16 |
17 // A controller for the find bar in the browser window. Manages | 17 // A controller for the find bar in the browser window. Manages |
18 // updating the state of the find bar and provides a target for the | 18 // updating the state of the find bar and provides a target for the |
19 // next/previous/close buttons. Certain operations require a pointer | 19 // next/previous/close buttons. Certain operations require a pointer |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 - (BOOL)isFindBarAnimating; | 96 - (BOOL)isFindBarAnimating; |
97 | 97 |
98 // Returns the FindBar's position in the superview's coordinates, but with | 98 // Returns the FindBar's position in the superview's coordinates, but with |
99 // the Y coordinate growing down. | 99 // the Y coordinate growing down. |
100 - (gfx::Point)findBarWindowPosition; | 100 - (gfx::Point)findBarWindowPosition; |
101 | 101 |
102 // Returns the width of the FindBar. | 102 // Returns the width of the FindBar. |
103 - (int)findBarWidth; | 103 - (int)findBarWidth; |
104 | 104 |
105 @end | 105 @end |
OLD | NEW |