| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/animation_delegate.h" | 11 #include "app/animation_delegate.h" |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/task.h" | 14 #include "base/task.h" |
| 15 #include "chrome/browser/notifications/balloon.h" | 15 #include "chrome/browser/notifications/balloon.h" |
| 16 #include "chrome/browser/views/notifications/balloon_view_host.h" | 16 #include "chrome/browser/views/notifications/balloon_view_host.h" |
| 17 #include "chrome/common/notification_registrar.h" | 17 #include "chrome/common/notification_registrar.h" |
| 18 #include "chrome/common/notification_service.h" | |
| 19 #include "gfx/path.h" | 18 #include "gfx/path.h" |
| 20 #include "gfx/point.h" | 19 #include "gfx/point.h" |
| 21 #include "gfx/rect.h" | 20 #include "gfx/rect.h" |
| 22 #include "gfx/size.h" | 21 #include "gfx/size.h" |
| 23 #include "views/controls/button/menu_button.h" | 22 #include "views/controls/button/menu_button.h" |
| 24 #include "views/controls/label.h" | 23 #include "views/controls/label.h" |
| 25 #include "views/controls/menu/view_menu_delegate.h" | 24 #include "views/controls/menu/view_menu_delegate.h" |
| 26 #include "views/view.h" | 25 #include "views/view.h" |
| 27 #include "views/widget/widget_delegate.h" | 26 #include "views/widget/widget_delegate.h" |
| 28 | 27 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_; | 162 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_; |
| 164 scoped_ptr<views::Menu2> options_menu_menu_; | 163 scoped_ptr<views::Menu2> options_menu_menu_; |
| 165 views::MenuButton* options_menu_button_; | 164 views::MenuButton* options_menu_button_; |
| 166 | 165 |
| 167 NotificationRegistrar notification_registrar_; | 166 NotificationRegistrar notification_registrar_; |
| 168 | 167 |
| 169 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); | 168 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); |
| 170 }; | 169 }; |
| 171 | 170 |
| 172 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ | 171 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ |
| OLD | NEW |