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" | 10 #include "views/bubble/bubble_border.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 // To use an Bubble, invoke Show() and it'll take care of the rest. The Bubble | 30 // To use an Bubble, invoke Show() and it'll take care of the rest. The Bubble |
31 // insets the contents for you, so the contents typically shouldn't have any | 31 // insets the contents for you, so the contents typically shouldn't have any |
32 // additional margins. | 32 // additional margins. |
33 | 33 |
34 class BorderContents; | 34 class BorderContents; |
35 #if defined(OS_WIN) && !defined(USE_AURA) | 35 #if defined(OS_WIN) && !defined(USE_AURA) |
36 class BorderWidgetWin; | 36 class BorderWidgetWin; |
37 #endif | 37 #endif |
38 class Bubble; | 38 class Bubble; |
39 | 39 |
40 namespace gfx { | |
41 class Path; | |
42 } | |
43 | |
44 namespace ui { | 40 namespace ui { |
45 class SlideAnimation; | 41 class SlideAnimation; |
46 } | 42 } |
47 | 43 |
48 namespace views { | 44 namespace views { |
49 class Widget; | 45 class Widget; |
50 } | 46 } |
51 | 47 |
52 class BubbleDelegate { | 48 class BubbleDelegate { |
53 public: | 49 public: |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 views::View* contents_; | 266 views::View* contents_; |
271 | 267 |
272 bool accelerator_registered_; | 268 bool accelerator_registered_; |
273 | 269 |
274 ObserverList<Observer> observer_list_; | 270 ObserverList<Observer> observer_list_; |
275 | 271 |
276 DISALLOW_COPY_AND_ASSIGN(Bubble); | 272 DISALLOW_COPY_AND_ASSIGN(Bubble); |
277 }; | 273 }; |
278 | 274 |
279 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ | 275 #endif // CHROME_BROWSER_UI_VIEWS_BUBBLE_BUBBLE_H_ |
OLD | NEW |