| 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 #ifndef CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_COCOA_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_COCOA_CONTROLLER_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 8 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 9 #import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h" | 12 #import "chrome/browser/ui/cocoa/has_weak_browser_pointer.h" |
| 10 #include "ui/gfx/geometry/point.h" | 13 #include "ui/gfx/geometry/point.h" |
| 11 | 14 |
| 12 class Browser; | 15 class Browser; |
| 13 class FindBarBridge; | 16 class FindBarBridge; |
| 14 @class FindBarTextField; | 17 @class FindBarTextField; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 - (BOOL)isFindBarAnimating; | 100 - (BOOL)isFindBarAnimating; |
| 98 | 101 |
| 99 // Returns the FindBar's position in the superview's coordinates, but with | 102 // Returns the FindBar's position in the superview's coordinates, but with |
| 100 // the Y coordinate growing down. | 103 // the Y coordinate growing down. |
| 101 - (gfx::Point)findBarWindowPosition; | 104 - (gfx::Point)findBarWindowPosition; |
| 102 | 105 |
| 103 // Returns the width of the FindBar. | 106 // Returns the width of the FindBar. |
| 104 - (int)findBarWidth; | 107 - (int)findBarWidth; |
| 105 | 108 |
| 106 @end | 109 @end |
| 110 |
| 111 #endif // CHROME_BROWSER_UI_COCOA_FIND_BAR_FIND_BAR_COCOA_CONTROLLER_H_ |
| OLD | NEW |