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/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| 11 #include "ui/base/accelerators/accelerator.h" |
11 #include "ui/base/animation/animation_delegate.h" | 12 #include "ui/base/animation/animation_delegate.h" |
12 #include "ui/base/models/accelerator.h" | |
13 #include "ui/views/bubble/bubble_border.h" | 13 #include "ui/views/bubble/bubble_border.h" |
14 #include "views/view.h" | 14 #include "views/view.h" |
15 | 15 |
16 #if defined(USE_AURA) | 16 #if defined(USE_AURA) |
17 #include "ui/views/widget/native_widget_aura.h" | 17 #include "ui/views/widget/native_widget_aura.h" |
18 #elif defined(OS_WIN) | 18 #elif defined(OS_WIN) |
19 #include "ui/views/widget/native_widget_win.h" | 19 #include "ui/views/widget/native_widget_win.h" |
20 #elif defined(TOOLKIT_USES_GTK) | 20 #elif defined(TOOLKIT_USES_GTK) |
21 #include "ui/views/widget/native_widget_gtk.h" | 21 #include "ui/views/widget/native_widget_gtk.h" |
22 #endif | 22 #endif |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 views::View* contents_; | 260 views::View* contents_; |
261 | 261 |
262 bool accelerator_registered_; | 262 bool accelerator_registered_; |
263 | 263 |
264 ObserverList<Observer> observer_list_; | 264 ObserverList<Observer> observer_list_; |
265 | 265 |
266 DISALLOW_COPY_AND_ASSIGN(Bubble); | 266 DISALLOW_COPY_AND_ASSIGN(Bubble); |
267 }; | 267 }; |
268 | 268 |
269 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ | 269 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ |
OLD | NEW |