summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/tab_contents_container_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/tab_contents_container_gtk.h')
-rw-r--r--chrome/browser/gtk/tab_contents_container_gtk.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/gtk/tab_contents_container_gtk.h b/chrome/browser/gtk/tab_contents_container_gtk.h
index b76517d..8a7a8c7 100644
--- a/chrome/browser/gtk/tab_contents_container_gtk.h
+++ b/chrome/browser/gtk/tab_contents_container_gtk.h
@@ -8,6 +8,7 @@
#include <gtk/gtk.h>
#include "base/basictypes.h"
+#include "chrome/browser/gtk/view_id_util.h"
#include "chrome/common/notification_registrar.h"
#include "chrome/common/owned_widget_gtk.h"
@@ -17,7 +18,8 @@ class TabContents;
typedef struct _GtkFloatingContainer GtkFloatingContainer;
-class TabContentsContainerGtk : public NotificationObserver {
+class TabContentsContainerGtk : public NotificationObserver,
+ public ViewIDUtil::Delegate {
public:
explicit TabContentsContainerGtk(StatusBubbleGtk* status_bubble);
~TabContentsContainerGtk();
@@ -38,6 +40,9 @@ class TabContentsContainerGtk : public NotificationObserver {
GtkWidget* widget() { return floating_.get(); }
+ // ViewIDUtil::Delegate implementation ---------------------------------------
+ virtual GtkWidget* GetWidgetForViewID(ViewID id);
+
private:
// Add or remove observers for events that we care about.
void AddObservers();