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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 9 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
10 #include "chrome/browser/ui/find_bar/find_bar.h" | 10 #include "chrome/browser/ui/find_bar/find_bar.h" |
11 #include "chrome/browser/ui/views/dropdown_bar_host.h" | 11 #include "chrome/browser/ui/views/dropdown_bar_host.h" |
12 #include "gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
13 #include "gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
14 #include "views/controls/textfield/textfield.h" | 14 #include "views/controls/textfield/textfield.h" |
15 | 15 |
16 class BrowserView; | 16 class BrowserView; |
17 class FindBarController; | 17 class FindBarController; |
18 class FindBarView; | 18 class FindBarView; |
19 class FindNotificationDetails; | 19 class FindNotificationDetails; |
20 | 20 |
21 //////////////////////////////////////////////////////////////////////////////// | 21 //////////////////////////////////////////////////////////////////////////////// |
22 // | 22 // |
23 // The FindBarHost implements the container widget for the | 23 // The FindBarHost implements the container widget for the |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // Returns the FindBarView. | 122 // Returns the FindBarView. |
123 FindBarView* find_bar_view(); | 123 FindBarView* find_bar_view(); |
124 | 124 |
125 // A pointer back to the owning controller. | 125 // A pointer back to the owning controller. |
126 FindBarController* find_bar_controller_; | 126 FindBarController* find_bar_controller_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(FindBarHost); | 128 DISALLOW_COPY_AND_ASSIGN(FindBarHost); |
129 }; | 129 }; |
130 | 130 |
131 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ | 131 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ |
OLD | NEW |