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 // Draws the view for the balloons. | 5 // Draws the view for the balloons. |
6 | 6 |
7 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ | 7 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ |
8 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ | 8 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "base/task.h" | 13 #include "base/task.h" |
14 #include "chrome/browser/notifications/balloon.h" | 14 #include "chrome/browser/notifications/balloon.h" |
15 #include "chrome/browser/ui/views/notifications/balloon_view_host.h" | 15 #include "chrome/browser/ui/views/notifications/balloon_view_host.h" |
16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
17 #include "gfx/path.h" | |
18 #include "gfx/point.h" | |
19 #include "gfx/rect.h" | |
20 #include "gfx/size.h" | |
21 #include "ui/base/animation/animation_delegate.h" | 17 #include "ui/base/animation/animation_delegate.h" |
| 18 #include "ui/gfx/path.h" |
| 19 #include "ui/gfx/point.h" |
| 20 #include "ui/gfx/rect.h" |
| 21 #include "ui/gfx/size.h" |
22 #include "views/controls/button/menu_button.h" | 22 #include "views/controls/button/menu_button.h" |
23 #include "views/controls/label.h" | 23 #include "views/controls/label.h" |
24 #include "views/controls/menu/view_menu_delegate.h" | 24 #include "views/controls/menu/view_menu_delegate.h" |
25 #include "views/view.h" | 25 #include "views/view.h" |
26 #include "views/widget/widget_delegate.h" | 26 #include "views/widget/widget_delegate.h" |
27 | 27 |
28 namespace views { | 28 namespace views { |
29 class ButtonListener; | 29 class ButtonListener; |
30 class ImageButton; | 30 class ImageButton; |
31 class ImagePainter; | 31 class ImagePainter; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_; | 163 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_; |
164 scoped_ptr<views::Menu2> options_menu_menu_; | 164 scoped_ptr<views::Menu2> options_menu_menu_; |
165 views::MenuButton* options_menu_button_; | 165 views::MenuButton* options_menu_button_; |
166 | 166 |
167 NotificationRegistrar notification_registrar_; | 167 NotificationRegistrar notification_registrar_; |
168 | 168 |
169 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); | 169 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); |
170 }; | 170 }; |
171 | 171 |
172 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ | 172 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ |
OLD | NEW |