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_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ |
8 #define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ | 8 #define CHROME_BROWSER_CHROMEOS_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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "chrome/browser/notifications/balloon.h" | 14 #include "chrome/browser/notifications/balloon.h" |
15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
17 #include "ui/gfx/path.h" | 17 #include "ui/gfx/path.h" |
18 #include "ui/gfx/point.h" | 18 #include "ui/gfx/point.h" |
19 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
20 #include "ui/gfx/size.h" | 20 #include "ui/gfx/size.h" |
21 #include "views/view.h" | 21 #include "views/view.h" |
22 | 22 |
23 namespace views { | 23 namespace views { |
24 class MenuButton; | |
25 class MouseEvent; | |
26 class TextButton; | |
27 class Widget; | 24 class Widget; |
28 } // namespace views | 25 } // namespace views |
29 | 26 |
30 class Notification; | 27 class Notification; |
31 | 28 |
32 namespace chromeos { | 29 namespace chromeos { |
33 | 30 |
34 class BalloonViewHost; | 31 class BalloonViewHost; |
35 class NotificationControlView; | 32 class NotificationControlView; |
36 | 33 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 bool closed_; | 115 bool closed_; |
119 // True to enable WebUI in the notification. | 116 // True to enable WebUI in the notification. |
120 bool web_ui_; | 117 bool web_ui_; |
121 | 118 |
122 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); | 119 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); |
123 }; | 120 }; |
124 | 121 |
125 } // namespace chromeos | 122 } // namespace chromeos |
126 | 123 |
127 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ | 124 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ |
OLD | NEW |