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_NOTIFICATION_PANEL_H_ | 7 #ifndef CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_ |
8 #define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_ | 8 #define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
| 11 #include "base/scoped_ptr.h" |
11 #include "base/task.h" | 12 #include "base/task.h" |
12 #include "base/scoped_ptr.h" | |
13 #include "chrome/browser/chromeos/frame/panel_controller.h" | 13 #include "chrome/browser/chromeos/frame/panel_controller.h" |
14 #include "chrome/browser/chromeos/notifications/balloon_collection_impl.h" | 14 #include "chrome/browser/chromeos/notifications/balloon_collection_impl.h" |
15 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
16 #include "gfx/rect.h" | 16 #include "gfx/rect.h" |
17 | 17 |
18 class Balloon; | 18 class Balloon; |
19 class Notification; | 19 class Notification; |
20 | 20 |
21 namespace views { | 21 namespace views { |
22 class ScrollView; | 22 class ScrollView; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 bool IsActive(const BalloonViewImpl* view) const; | 237 bool IsActive(const BalloonViewImpl* view) const; |
238 | 238 |
239 private: | 239 private: |
240 NotificationPanel* panel_; | 240 NotificationPanel* panel_; |
241 DISALLOW_COPY_AND_ASSIGN(NotificationPanelTester); | 241 DISALLOW_COPY_AND_ASSIGN(NotificationPanelTester); |
242 }; | 242 }; |
243 | 243 |
244 } // namespace chromeos | 244 } // namespace chromeos |
245 | 245 |
246 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_ | 246 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_ |
OLD | NEW |