summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/find_bar_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-29 23:00:25 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-29 23:00:25 +0000
commitd46dccd915503b397f775bd5332e27c0b0a8e114 (patch)
tree4c70944cbec6417e4bbd7ca49ea0e191c3f132d2 /chrome/browser/gtk/find_bar_gtk.h
parent25e08e4911b7f49ad7fbaa7bacbd45d601ad6dee (diff)
downloadchromium_src-d46dccd915503b397f775bd5332e27c0b0a8e114.zip
chromium_src-d46dccd915503b397f775bd5332e27c0b0a8e114.tar.gz
chromium_src-d46dccd915503b397f775bd5332e27c0b0a8e114.tar.bz2
GTK: move the findbar out of the way when it covers a find result.
BUG=15875 Review URL: http://codereview.chromium.org/160350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22012 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.h')
-rw-r--r--chrome/browser/gtk/find_bar_gtk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.h b/chrome/browser/gtk/find_bar_gtk.h
index 81de33a..020b814 100644
--- a/chrome/browser/gtk/find_bar_gtk.h
+++ b/chrome/browser/gtk/find_bar_gtk.h
@@ -164,6 +164,10 @@ class FindBarGtk : public FindBar,
// If true, the change signal for the text entry is ignored.
bool ignore_changed_signal_;
+ // This is the width of widget(). We cache it so we can recognize whether
+ // allocate signals have changed it, and if so take appropriate actions.
+ int current_fixed_width_;
+
scoped_ptr<NineBox> dialog_background_;
DISALLOW_COPY_AND_ASSIGN(FindBarGtk);