OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEWS_FIND_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" | 13 #include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" |
14 #include "ui/views/controls/button/vector_icon_button_delegate.h" | 14 #include "ui/views/controls/button/vector_icon_button_delegate.h" |
15 #include "ui/views/controls/textfield/textfield_controller.h" | 15 #include "ui/views/controls/textfield/textfield_controller.h" |
16 #include "ui/views/view.h" | 16 #include "ui/views/view.h" |
17 #include "ui/views/view_targeter_delegate.h" | 17 #include "ui/views/view_targeter_delegate.h" |
18 | 18 |
19 class FindBarHost; | 19 class FindBarHost; |
20 class FindNotificationDetails; | 20 class FindNotificationDetails; |
21 | 21 |
22 namespace gfx { | 22 namespace gfx { |
23 class Range; | 23 class Range; |
24 } | 24 } |
25 | 25 |
26 namespace views { | 26 namespace views { |
27 class Label; | 27 class Label; |
28 class MouseEvent; | |
29 class Painter; | 28 class Painter; |
30 class Separator; | 29 class Separator; |
31 class Textfield; | 30 class Textfield; |
32 class VectorIconButton; | 31 class VectorIconButton; |
33 } | 32 } |
34 | 33 |
35 //////////////////////////////////////////////////////////////////////////////// | 34 //////////////////////////////////////////////////////////////////////////////// |
36 // | 35 // |
37 // The FindBarView is responsible for drawing the UI controls of the | 36 // The FindBarView is responsible for drawing the UI controls of the |
38 // FindBar, the find text box, the 'Find' button and the 'Close' | 37 // FindBar, the find text box, the 'Find' button and the 'Close' |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 views::VectorIconButton* find_next_button_; | 119 views::VectorIconButton* find_next_button_; |
121 views::VectorIconButton* close_button_; | 120 views::VectorIconButton* close_button_; |
122 | 121 |
123 // The preferred height of the find bar. | 122 // The preferred height of the find bar. |
124 int preferred_height_; | 123 int preferred_height_; |
125 | 124 |
126 DISALLOW_COPY_AND_ASSIGN(FindBarView); | 125 DISALLOW_COPY_AND_ASSIGN(FindBarView); |
127 }; | 126 }; |
128 | 127 |
129 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ | 128 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_VIEW_H_ |
OLD | NEW |