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_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/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/common/notification_observer.h" | 15 #include "chrome/common/notification_observer.h" |
16 #include "chrome/common/notification_registrar.h" | 16 #include "chrome/common/notification_registrar.h" |
17 #include "gfx/path.h" | 17 #include "ui/gfx/path.h" |
18 #include "gfx/point.h" | 18 #include "ui/gfx/point.h" |
19 #include "gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
20 #include "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 Menu2; | 24 class Menu2; |
25 class MenuButton; | 25 class MenuButton; |
26 class MouseEvent; | 26 class MouseEvent; |
27 class TextButton; | 27 class TextButton; |
28 class WidgetGtk; | 28 class WidgetGtk; |
29 } // namespace views | 29 } // namespace views |
30 | 30 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 bool closed_; | 125 bool closed_; |
126 // True to enable domui in the notification. | 126 // True to enable domui in the notification. |
127 bool dom_ui_; | 127 bool dom_ui_; |
128 | 128 |
129 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); | 129 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); |
130 }; | 130 }; |
131 | 131 |
132 } // namespace chromeos | 132 } // namespace chromeos |
133 | 133 |
134 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ | 134 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ |
OLD | NEW |