| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ | 6 #define CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/browser/gtk/owned_widget_gtk.h" | 10 #include "chrome/browser/gtk/owned_widget_gtk.h" |
| 11 #include "chrome/common/notification_observer.h" |
| 11 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
| 12 | 13 |
| 13 class InfoBarDelegate; | 14 class InfoBarDelegate; |
| 14 class Profile; | 15 class Profile; |
| 15 class TabContents; | 16 class TabContents; |
| 16 | 17 |
| 17 typedef struct _GtkWidget GtkWidget; | 18 typedef struct _GtkWidget GtkWidget; |
| 18 | 19 |
| 19 class InfoBarContainerGtk : public NotificationObserver { | 20 class InfoBarContainerGtk : public NotificationObserver { |
| 20 public: | 21 public: |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // The TabContents for which we are currently showing InfoBars. | 67 // The TabContents for which we are currently showing InfoBars. |
| 67 TabContents* tab_contents_; | 68 TabContents* tab_contents_; |
| 68 | 69 |
| 69 // VBox that holds the info bars. | 70 // VBox that holds the info bars. |
| 70 OwnedWidgetGtk container_; | 71 OwnedWidgetGtk container_; |
| 71 | 72 |
| 72 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerGtk); | 73 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerGtk); |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 #endif // CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ | 76 #endif // CHROME_BROWSER_GTK_INFOBAR_CONTAINER_GTK_H_ |
| OLD | NEW |