Index: chrome/browser/gtk/tab_contents_container_gtk.h |
=================================================================== |
--- chrome/browser/gtk/tab_contents_container_gtk.h (revision 14624) |
+++ chrome/browser/gtk/tab_contents_container_gtk.h (working copy) |
@@ -48,6 +48,11 @@ |
// 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 @@ |
// 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); |
}; |