| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_H_ | 7 #ifndef CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_H_ |
| 8 #define CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_H_ | 8 #define CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_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 "chrome/browser/notifications/balloon.h" | 13 #include "chrome/browser/notifications/balloon.h" |
| 14 #include "chrome/browser/ui/gtk/menu_gtk.h" | 14 #include "chrome/browser/ui/gtk/menu_gtk.h" |
| 15 #include "chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h" | 15 #include "chrome/browser/ui/gtk/notifications/balloon_view_host_gtk.h" |
| 16 #include "chrome/common/notification_observer.h" | 16 #include "chrome/common/notification_observer.h" |
| 17 #include "chrome/common/notification_registrar.h" | 17 #include "chrome/common/notification_registrar.h" |
| 18 #include "gfx/point.h" | |
| 19 #include "gfx/rect.h" | |
| 20 #include "gfx/size.h" | |
| 21 #include "ui/base/animation/animation_delegate.h" | 18 #include "ui/base/animation/animation_delegate.h" |
| 22 #include "ui/base/gtk/gtk_signal.h" | 19 #include "ui/base/gtk/gtk_signal.h" |
| 20 #include "ui/gfx/point.h" |
| 21 #include "ui/gfx/rect.h" |
| 22 #include "ui/gfx/size.h" |
| 23 | 23 |
| 24 class BalloonCollection; | 24 class BalloonCollection; |
| 25 class CustomDrawButton; | 25 class CustomDrawButton; |
| 26 class GtkThemeProvider; | 26 class GtkThemeProvider; |
| 27 class MenuGtk; | 27 class MenuGtk; |
| 28 class NotificationDetails; | 28 class NotificationDetails; |
| 29 class NotificationOptionsMenuModel; | 29 class NotificationOptionsMenuModel; |
| 30 class NotificationSource; | 30 class NotificationSource; |
| 31 | 31 |
| 32 namespace ui { | 32 namespace ui { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // Is the menu currently showing? | 132 // Is the menu currently showing? |
| 133 bool menu_showing_; | 133 bool menu_showing_; |
| 134 | 134 |
| 135 // Is there a pending system-initiated close? | 135 // Is there a pending system-initiated close? |
| 136 bool pending_close_; | 136 bool pending_close_; |
| 137 | 137 |
| 138 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); | 138 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 #endif // CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_H_ | 141 #endif // CHROME_BROWSER_UI_GTK_NOTIFICATIONS_BALLOON_VIEW_GTK_H_ |
| OLD | NEW |