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 "chrome/common/notification_service.h" | |
18 #include "gfx/path.h" | 17 #include "gfx/path.h" |
19 #include "gfx/point.h" | 18 #include "gfx/point.h" |
20 #include "gfx/rect.h" | 19 #include "gfx/rect.h" |
21 #include "gfx/size.h" | 20 #include "gfx/size.h" |
22 #include "views/view.h" | 21 #include "views/view.h" |
23 | 22 |
24 namespace views { | 23 namespace views { |
25 class Menu2; | 24 class Menu2; |
26 class MenuButton; | 25 class MenuButton; |
27 class MouseEvent; | 26 class MouseEvent; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 bool closed_; | 125 bool closed_; |
127 // True to enable domui in the notification. | 126 // True to enable domui in the notification. |
128 bool dom_ui_; | 127 bool dom_ui_; |
129 | 128 |
130 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); | 129 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); |
131 }; | 130 }; |
132 | 131 |
133 } // namespace chromeos | 132 } // namespace chromeos |
134 | 133 |
135 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ | 134 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ |
OLD | NEW |