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