| 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_TAB_CONTENTS_CONTAINER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ | 6 #define CHROME_BROWSER_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/gtk/owned_widget_gtk.h" | 12 #include "chrome/browser/gtk/owned_widget_gtk.h" |
| 13 #include "chrome/browser/gtk/view_id_util.h" | 13 #include "chrome/browser/gtk/view_id_util.h" |
| 14 #include "chrome/common/notification_observer.h" |
| 14 #include "chrome/common/notification_registrar.h" | 15 #include "chrome/common/notification_registrar.h" |
| 15 | 16 |
| 16 class RenderViewHost; | 17 class RenderViewHost; |
| 17 class StatusBubbleGtk; | 18 class StatusBubbleGtk; |
| 18 class TabContents; | 19 class TabContents; |
| 19 | 20 |
| 20 typedef struct _GtkFloatingContainer GtkFloatingContainer; | 21 typedef struct _GtkFloatingContainer GtkFloatingContainer; |
| 21 | 22 |
| 22 class TabContentsContainerGtk : public NotificationObserver, | 23 class TabContentsContainerGtk : public NotificationObserver, |
| 23 public ViewIDUtil::Delegate { | 24 public ViewIDUtil::Delegate { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // We insert and remove TabContents GtkWidgets into this expanded_. This | 83 // We insert and remove TabContents GtkWidgets into this expanded_. This |
| 83 // should not be a GtkVBox since there were errors with timing where the vbox | 84 // should not be a GtkVBox since there were errors with timing where the vbox |
| 84 // was horizontally split with the top half displaying the current TabContents | 85 // was horizontally split with the top half displaying the current TabContents |
| 85 // and bottom half displaying the loading page. | 86 // and bottom half displaying the loading page. |
| 86 GtkWidget* expanded_; | 87 GtkWidget* expanded_; |
| 87 | 88 |
| 88 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk); | 89 DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk); |
| 89 }; | 90 }; |
| 90 | 91 |
| 91 #endif // CHROME_BROWSER_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ | 92 #endif // CHROME_BROWSER_GTK_TAB_CONTENTS_CONTAINER_GTK_H_ |
| OLD | NEW |