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 #ifndef CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | |
13 #include "chrome/browser/ui/gtk/view_id_util.h" | 12 #include "chrome/browser/ui/gtk/view_id_util.h" |
14 #include "content/common/notification_observer.h" | 13 #include "content/common/notification_observer.h" |
15 #include "content/common/notification_registrar.h" | 14 #include "content/common/notification_registrar.h" |
16 #include "ui/base/gtk/gtk_signal.h" | 15 #include "ui/base/gtk/gtk_signal.h" |
| 16 #include "ui/base/gtk/owned_widget_gtk.h" |
17 | 17 |
18 class RenderViewHost; | 18 class RenderViewHost; |
19 class StatusBubbleGtk; | 19 class StatusBubbleGtk; |
20 class TabContents; | 20 class TabContents; |
21 class TabContentsWrapper; | 21 class TabContentsWrapper; |
22 | 22 |
23 typedef struct _GtkFloatingContainer GtkFloatingContainer; | 23 typedef struct _GtkFloatingContainer GtkFloatingContainer; |
24 | 24 |
25 class TabContentsContainerGtk : public NotificationObserver, | 25 class TabContentsContainerGtk : public NotificationObserver, |
26 public ViewIDUtil::Delegate { | 26 public ViewIDUtil::Delegate { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // We insert and remove TabContents GtkWidgets into this expanded_. This | 103 // We insert and remove TabContents GtkWidgets into this expanded_. This |
104 // should not be a GtkVBox since there were errors with timing where the vbox | 104 // should not be a GtkVBox since there were errors with timing where the vbox |
105 // was horizontally split with the top half displaying the current TabContents | 105 // was horizontally split with the top half displaying the current TabContents |
106 // and bottom half displaying the loading page. | 106 // and bottom half displaying the loading page. |
107 GtkWidget* expanded_; | 107 GtkWidget* expanded_; |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk); | 109 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk); |
110 }; | 110 }; |
111 | 111 |
112 #endif // CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ | 112 #endif // CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ |
OLD | NEW |