| 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 // This is an interface for the platform specific FindBar. It is responsible | 5 // This is an interface for the platform specific FindBar. It is responsible |
| 6 // for drawing the FindBar bar on the platform and is owned by the | 6 // for drawing the FindBar bar on the platform and is owned by the |
| 7 // FindBarController. | 7 // FindBarController. |
| 8 | 8 |
| 9 #ifndef CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ | 9 #ifndef CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ |
| 10 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ | 10 #define CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ |
| 11 | 11 |
| 12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
| 14 | 14 |
| 15 class FindBarController; | 15 class FindBarController; |
| 16 class FindBarTesting; | 16 class FindBarTesting; |
| 17 class FindNotificationDetails; | 17 class FindNotificationDetails; |
| 18 | 18 |
| 19 class FindBar { | 19 class FindBar { |
| 20 public: | 20 public: |
| 21 virtual ~FindBar() { } | 21 virtual ~FindBar() { } |
| 22 | 22 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 virtual string16 GetFindSelectedText() = 0; | 100 virtual string16 GetFindSelectedText() = 0; |
| 101 | 101 |
| 102 // Gets the match count text (ie. 1 of 3) visible in the Find box. | 102 // Gets the match count text (ie. 1 of 3) visible in the Find box. |
| 103 virtual string16 GetMatchCountText() = 0; | 103 virtual string16 GetMatchCountText() = 0; |
| 104 | 104 |
| 105 // Gets the pixel width of the FindBar. | 105 // Gets the pixel width of the FindBar. |
| 106 virtual int GetWidth() = 0; | 106 virtual int GetWidth() = 0; |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ | 109 #endif // CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_H_ |
| OLD | NEW |