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/view_id_util.h" | 12 #include "chrome/browser/ui/gtk/view_id_util.h" |
13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
15 #include "ui/base/gtk/gtk_signal.h" | 15 #include "ui/base/gtk/gtk_signal.h" |
16 #include "ui/base/gtk/owned_widget_gtk.h" | 16 #include "ui/base/gtk/owned_widget_gtk.h" |
17 | 17 |
18 class RenderViewHost; | |
19 class StatusBubbleGtk; | 18 class StatusBubbleGtk; |
20 class TabContents; | 19 class TabContents; |
21 class TabContentsWrapper; | 20 class TabContentsWrapper; |
22 | 21 |
23 typedef struct _GtkFloatingContainer GtkFloatingContainer; | 22 typedef struct _GtkFloatingContainer GtkFloatingContainer; |
24 | 23 |
25 class TabContentsContainerGtk : public content::NotificationObserver, | 24 class TabContentsContainerGtk : public content::NotificationObserver, |
26 public ViewIDUtil::Delegate { | 25 public ViewIDUtil::Delegate { |
27 public: | 26 public: |
28 explicit TabContentsContainerGtk(StatusBubbleGtk* status_bubble); | 27 explicit TabContentsContainerGtk(StatusBubbleGtk* status_bubble); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // We insert and remove TabContents GtkWidgets into this expanded_. This | 102 // 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 | 103 // 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 | 104 // was horizontally split with the top half displaying the current TabContents |
106 // and bottom half displaying the loading page. | 105 // and bottom half displaying the loading page. |
107 GtkWidget* expanded_; | 106 GtkWidget* expanded_; |
108 | 107 |
109 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk); | 108 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk); |
110 }; | 109 }; |
111 | 110 |
112 #endif // CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ | 111 #endif // CHROME_BROWSER_UI_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ |
OLD | NEW |