| 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 "chrome/browser/ui/find_bar/find_bar.h" | 9 #include "chrome/browser/ui/find_bar/find_bar.h" |
| 10 #include "chrome/browser/ui/views/dropdown_bar_host.h" | 10 #include "chrome/browser/ui/views/dropdown_bar_host.h" |
| 11 #include "chrome/browser/ui/views/find_bar_view.h" | 11 #include "chrome/browser/ui/views/find_bar_view.h" |
| 12 #include "ui/gfx/geometry/rect.h" |
| 12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 13 #include "ui/gfx/rect.h" | |
| 14 #include "ui/views/controls/textfield/textfield.h" | 14 #include "ui/views/controls/textfield/textfield.h" |
| 15 | 15 |
| 16 class BrowserView; | 16 class BrowserView; |
| 17 class FindBarController; | 17 class FindBarController; |
| 18 class FindNotificationDetails; | 18 class FindNotificationDetails; |
| 19 | 19 |
| 20 //////////////////////////////////////////////////////////////////////////////// | 20 //////////////////////////////////////////////////////////////////////////////// |
| 21 // | 21 // |
| 22 // The FindBarHost implements the container widget for the | 22 // The FindBarHost implements the container widget for the |
| 23 // find-in-page functionality. It uses the implementation from | 23 // find-in-page functionality. It uses the implementation from |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // Returns the FindBarView. | 123 // Returns the FindBarView. |
| 124 FindBarView* find_bar_view() { return static_cast<FindBarView*>(view()); } | 124 FindBarView* find_bar_view() { return static_cast<FindBarView*>(view()); } |
| 125 | 125 |
| 126 // A pointer back to the owning controller. | 126 // A pointer back to the owning controller. |
| 127 FindBarController* find_bar_controller_; | 127 FindBarController* find_bar_controller_; |
| 128 | 128 |
| 129 DISALLOW_COPY_AND_ASSIGN(FindBarHost); | 129 DISALLOW_COPY_AND_ASSIGN(FindBarHost); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ | 132 #endif // CHROME_BROWSER_UI_VIEWS_FIND_BAR_HOST_H_ |
| OLD | NEW |