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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/gtk/tab_contents_container_gtk.h b/chrome/browser/gtk/tab_contents_container_gtk.h
index 6bef9a4..bb914d0 100644
--- a/chrome/browser/gtk/tab_contents_container_gtk.h
+++ b/chrome/browser/gtk/tab_contents_container_gtk.h
@@ -48,6 +48,11 @@ class TabContentsContainerGtk : public NotificationObserver {
// get notified.
void TabContentsDestroyed(TabContents* contents);
+ // Called when |fixed_| changes sizes. Used to position the findbar.
+ static void OnSizeAllocate(GtkWidget* fixed,
+ GtkAllocation* allocation,
+ TabContentsContainerGtk* contents_container);
+
// The currently visible TabContents.
TabContents* tab_contents_;
@@ -56,6 +61,12 @@ class TabContentsContainerGtk : public NotificationObserver {
// vbox_.
GtkWidget* vbox_;
+ // This GtkFixed widget helps us position the find bar.
+ GtkWidget* fixed_;
+
+ // The findbar widget. We do not own it.
+ GtkWidget* findbar_;
+
DISALLOW_COPY_AND_ASSIGN(TabContentsContainerGtk);
};