| 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 // Handles the visible notification (or balloons). | 5 // Handles the visible notification (or balloons). |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ | 7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ |
| 8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ | 8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_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 "gfx/point.h" | 13 #include "ui/gfx/point.h" |
| 14 #include "gfx/rect.h" | 14 #include "ui/gfx/rect.h" |
| 15 #include "gfx/size.h" | 15 #include "ui/gfx/size.h" |
| 16 | 16 |
| 17 class Balloon; | 17 class Balloon; |
| 18 class BalloonCollection; | 18 class BalloonCollection; |
| 19 class BalloonHost; | 19 class BalloonHost; |
| 20 class Notification; | 20 class Notification; |
| 21 class Profile; | 21 class Profile; |
| 22 class SiteInstance; | 22 class SiteInstance; |
| 23 | 23 |
| 24 // Interface for a view that displays a balloon. | 24 // Interface for a view that displays a balloon. |
| 25 class BalloonView { | 25 class BalloonView { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // position for keeping the close buttons under the mouse cursor. | 129 // position for keeping the close buttons under the mouse cursor. |
| 130 gfx::Point offset_; | 130 gfx::Point offset_; |
| 131 | 131 |
| 132 // Smallest size for this balloon where scrollbars will be shown. | 132 // Smallest size for this balloon where scrollbars will be shown. |
| 133 gfx::Size min_scrollbar_size_; | 133 gfx::Size min_scrollbar_size_; |
| 134 | 134 |
| 135 DISALLOW_COPY_AND_ASSIGN(Balloon); | 135 DISALLOW_COPY_AND_ASSIGN(Balloon); |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ | 138 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ |
| OLD | NEW |