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_HOST_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "chrome/browser/ui/find_bar/find_bar.h" | 10 #include "chrome/browser/ui/find_bar/find_bar.h" |
10 #include "chrome/browser/ui/views/dropdown_bar_host.h" | 11 #include "chrome/browser/ui/views/dropdown_bar_host.h" |
11 #include "chrome/browser/ui/views/find_bar_view.h" | 12 #include "chrome/browser/ui/views/find_bar_view.h" |
12 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/views/controls/textfield/textfield.h" | 15 #include "ui/views/controls/textfield/textfield.h" |
15 | 16 |
16 class BrowserView; | 17 class BrowserView; |
17 class FindBarController; | 18 class FindBarController; |
18 class FindNotificationDetails; | 19 class FindNotificationDetails; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // Returns the FindBarView. | 124 // Returns the FindBarView. |
124 FindBarView* find_bar_view() { return static_cast<FindBarView*>(view()); } | 125 FindBarView* find_bar_view() { return static_cast<FindBarView*>(view()); } |
125 | 126 |
126 // A pointer back to the owning controller. | 127 // A pointer back to the owning controller. |
127 FindBarController* find_bar_controller_; | 128 FindBarController* find_bar_controller_; |
128 | 129 |
129 DISALLOW_COPY_AND_ASSIGN(FindBarHost); | 130 DISALLOW_COPY_AND_ASSIGN(FindBarHost); |
130 }; | 131 }; |
131 | 132 |
132 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ | 133 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ |
OLD | NEW |