| OLD | NEW |
| 1 // Copyright (c) 2009 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 <vector> | |
| 12 | |
| 13 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 14 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 15 #include "gfx/point.h" | 13 #include "gfx/point.h" |
| 16 #include "gfx/rect.h" | 14 #include "gfx/rect.h" |
| 17 #include "gfx/size.h" | 15 #include "gfx/size.h" |
| 18 | 16 |
| 19 class Balloon; | 17 class Balloon; |
| 20 class BalloonCollection; | 18 class BalloonCollection; |
| 21 class BalloonHost; | 19 class BalloonHost; |
| 22 class Notification; | 20 class Notification; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // position for keeping the close buttons under the mouse cursor. | 124 // position for keeping the close buttons under the mouse cursor. |
| 127 gfx::Point offset_; | 125 gfx::Point offset_; |
| 128 | 126 |
| 129 // Smallest size for this balloon where scrollbars will be shown. | 127 // Smallest size for this balloon where scrollbars will be shown. |
| 130 gfx::Size min_scrollbar_size_; | 128 gfx::Size min_scrollbar_size_; |
| 131 | 129 |
| 132 DISALLOW_COPY_AND_ASSIGN(Balloon); | 130 DISALLOW_COPY_AND_ASSIGN(Balloon); |
| 133 }; | 131 }; |
| 134 | 132 |
| 135 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ | 133 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ |
| OLD | NEW |