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_BUBBLE_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
10 #include "views/bubble/bubble_border.h" | |
11 #include "ui/base/animation/animation_delegate.h" | 10 #include "ui/base/animation/animation_delegate.h" |
12 #include "ui/base/models/accelerator.h" | 11 #include "ui/base/models/accelerator.h" |
| 12 #include "ui/views/bubble/bubble_border.h" |
13 #include "views/view.h" | 13 #include "views/view.h" |
14 | 14 |
15 #if defined(USE_AURA) | 15 #if defined(USE_AURA) |
16 #include "views/widget/native_widget_aura.h" | 16 #include "views/widget/native_widget_aura.h" |
17 #elif defined(OS_WIN) | 17 #elif defined(OS_WIN) |
18 #include "views/widget/native_widget_win.h" | 18 #include "views/widget/native_widget_win.h" |
19 #elif defined(TOUCH_UI) | 19 #elif defined(TOUCH_UI) |
20 #include "views/widget/native_widget_views.h" | 20 #include "views/widget/native_widget_views.h" |
21 #elif defined(TOOLKIT_USES_GTK) | 21 #elif defined(TOOLKIT_USES_GTK) |
22 #include "views/widget/native_widget_gtk.h" | 22 #include "views/widget/native_widget_gtk.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 views::View* contents_; | 266 views::View* contents_; |
267 | 267 |
268 bool accelerator_registered_; | 268 bool accelerator_registered_; |
269 | 269 |
270 ObserverList<Observer> observer_list_; | 270 ObserverList<Observer> observer_list_; |
271 | 271 |
272 DISALLOW_COPY_AND_ASSIGN(Bubble); | 272 DISALLOW_COPY_AND_ASSIGN(Bubble); |
273 }; | 273 }; |
274 | 274 |
275 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ | 275 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ |
OLD | NEW |