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