| Index: chrome/browser/ui/gtk/find_bar_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/find_bar_gtk.h b/chrome/browser/ui/gtk/find_bar_gtk.h
|
| index a970b91f016fbb9336af8471aa60ecb29e40a544..ce41e71f083d7bf976cddd12a39e5c0262059253 100644
|
| --- a/chrome/browser/ui/gtk/find_bar_gtk.h
|
| +++ b/chrome/browser/ui/gtk/find_bar_gtk.h
|
| @@ -65,6 +65,7 @@ class FindBarGtk : public FindBar,
|
| virtual string16 GetFindText();
|
| virtual string16 GetFindSelectedText();
|
| virtual string16 GetMatchCountText();
|
| + virtual int GetWidth();
|
|
|
| // Overridden from NotificationObserver:
|
| virtual void Observe(NotificationType type,
|
| @@ -93,6 +94,9 @@ class FindBarGtk : public FindBar,
|
| // Asynchronously repositions the dialog.
|
| void Reposition();
|
|
|
| + // Returns the bounds of the dialog that contains the find bar.
|
| + gfx::Rect GetDialogBounds();
|
| +
|
| // Returns the rectangle representing where to position the find bar. If
|
| // |avoid_overlapping_rect| is specified, the return value will be a rectangle
|
| // located immediately to the left of |avoid_overlapping_rect|, as long as
|
| @@ -115,6 +119,10 @@ class FindBarGtk : public FindBar,
|
| static void OnParentSet(GtkWidget* widget, GtkObject* old_parent,
|
| FindBarGtk* find_bar);
|
|
|
| + static void OnContentSizeAllocate(GtkWidget* content_hbox,
|
| + GtkAllocation* allocation,
|
| + FindBarGtk* find_bar);
|
| +
|
| static void OnSetFloatingPosition(GtkFloatingContainer* floating_container,
|
| GtkAllocation* allocation,
|
| FindBarGtk* find_bar);
|
|
|