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