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/scoped_ptr.h" |
12 #include "base/task.h" | 12 #include "base/task.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 "ui/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; |
23 } // namespace views | 23 } // namespace views |
24 | 24 |
25 namespace chromeos { | 25 namespace chromeos { |
26 | 26 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 bool IsActive(const BalloonViewImpl* view) const; | 238 bool IsActive(const BalloonViewImpl* view) const; |
239 | 239 |
240 private: | 240 private: |
241 NotificationPanel* panel_; | 241 NotificationPanel* panel_; |
242 DISALLOW_COPY_AND_ASSIGN(NotificationPanelTester); | 242 DISALLOW_COPY_AND_ASSIGN(NotificationPanelTester); |
243 }; | 243 }; |
244 | 244 |
245 } // namespace chromeos | 245 } // namespace chromeos |
246 | 246 |
247 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_ | 247 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_ |
OLD | NEW |