diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 23:00:25 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 23:00:25 +0000 |
commit | d46dccd915503b397f775bd5332e27c0b0a8e114 (patch) | |
tree | 4c70944cbec6417e4bbd7ca49ea0e191c3f132d2 /chrome/browser/gtk/find_bar_gtk.h | |
parent | 25e08e4911b7f49ad7fbaa7bacbd45d601ad6dee (diff) | |
download | chromium_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.h | 4 |
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); |