| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_VIEWS_FIND_BAR_HOST_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_FIND_BAR_HOST_H_ |
| 6 #define CHROME_BROWSER_VIEWS_FIND_BAR_HOST_H_ | 6 #define CHROME_BROWSER_VIEWS_FIND_BAR_HOST_H_ |
| 7 | 7 |
| 8 #include "app/animation.h" | 8 #include "app/animation.h" |
| 9 #include "app/gfx/native_widget_types.h" |
| 9 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
| 10 #include "base/gfx/native_widget_types.h" | |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "chrome/browser/find_bar.h" | 12 #include "chrome/browser/find_bar.h" |
| 13 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 13 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 14 #include "views/controls/textfield/textfield.h" | 14 #include "views/controls/textfield/textfield.h" |
| 15 #include "views/focus/focus_manager.h" | 15 #include "views/focus/focus_manager.h" |
| 16 #include "views/widget/widget.h" | 16 #include "views/widget/widget.h" |
| 17 | 17 |
| 18 class BrowserView; | 18 class BrowserView; |
| 19 class FindBarController; | 19 class FindBarController; |
| 20 class FindBarView; | 20 class FindBarView; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 FindBarController* find_bar_controller_; | 184 FindBarController* find_bar_controller_; |
| 185 | 185 |
| 186 // Host is the Widget implementation that is created and maintained by the | 186 // Host is the Widget implementation that is created and maintained by the |
| 187 // find bar. It contains the FindBarView. | 187 // find bar. It contains the FindBarView. |
| 188 scoped_ptr<views::Widget> host_; | 188 scoped_ptr<views::Widget> host_; |
| 189 | 189 |
| 190 DISALLOW_COPY_AND_ASSIGN(FindBarHost); | 190 DISALLOW_COPY_AND_ASSIGN(FindBarHost); |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 #endif // CHROME_BROWSER_VIEWS_FIND_BAR_HOST_H_ | 193 #endif // CHROME_BROWSER_VIEWS_FIND_BAR_HOST_H_ |
| OLD | NEW |