OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_SHELF_OVERFLOW_BUBBLE_H_ | 5 #ifndef ASH_SHELF_OVERFLOW_BUBBLE_H_ |
6 #define ASH_SHELF_OVERFLOW_BUBBLE_H_ | 6 #define ASH_SHELF_OVERFLOW_BUBBLE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "ui/events/event_handler.h" | 10 #include "ui/events/event_handler.h" |
11 #include "ui/views/widget/widget_observer.h" | 11 #include "ui/views/widget/widget_observer.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 class LocatedEvent; | 14 class LocatedEvent; |
15 } | 15 } |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 class View; | 18 class View; |
19 } | 19 } |
20 | 20 |
21 namespace ash { | 21 namespace ash { |
22 | 22 |
23 class LauncherDelegate; | |
24 class LauncherModel; | |
25 | |
26 namespace internal { | 23 namespace internal { |
27 | 24 |
28 class ShelfView; | 25 class ShelfView; |
29 | 26 |
30 // OverflowBubble displays the overflown launcher items in a bubble. | 27 // OverflowBubble displays the overflown launcher items in a bubble. |
31 class OverflowBubble : public ui::EventHandler, | 28 class OverflowBubble : public ui::EventHandler, |
32 public views::WidgetObserver { | 29 public views::WidgetObserver { |
33 public: | 30 public: |
34 OverflowBubble(); | 31 OverflowBubble(); |
35 virtual ~OverflowBubble(); | 32 virtual ~OverflowBubble(); |
(...skipping 24 matching lines...) Expand all Loading... |
60 views::View* anchor_; // Owned by ShelfView. | 57 views::View* anchor_; // Owned by ShelfView. |
61 ShelfView* shelf_view_; // Owned by |bubble_|. | 58 ShelfView* shelf_view_; // Owned by |bubble_|. |
62 | 59 |
63 DISALLOW_COPY_AND_ASSIGN(OverflowBubble); | 60 DISALLOW_COPY_AND_ASSIGN(OverflowBubble); |
64 }; | 61 }; |
65 | 62 |
66 } // namespace internal | 63 } // namespace internal |
67 } // namespace ash | 64 } // namespace ash |
68 | 65 |
69 #endif // ASH_SHELF_OVERFLOW_BUBBLE_H_ | 66 #endif // ASH_SHELF_OVERFLOW_BUBBLE_H_ |
OLD | NEW |