summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/browser_window_gtk.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 22:32:49 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 22:32:49 +0000
commitb39171b47da84c18b4dfabfaebe0a6318c96bc68 (patch)
tree77207c2e96a197be95548aa484cb3c27cb5c1e60 /chrome/browser/gtk/browser_window_gtk.h
parenta4d8a7bb664645e18a1d6045e94aa1f714a0a404 (diff)
downloadchromium_src-b39171b47da84c18b4dfabfaebe0a6318c96bc68.zip
chromium_src-b39171b47da84c18b4dfabfaebe0a6318c96bc68.tar.gz
chromium_src-b39171b47da84c18b4dfabfaebe0a6318c96bc68.tar.bz2
GTK: Repaint the toolbar after the bookmark bar has finished.
This issue has been here for forever (or at least as long as far back as the bisect script will let me check). BUG=44502 TEST=See bug. Review URL: http://codereview.chromium.org/2616001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/browser_window_gtk.h')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.h b/chrome/browser/gtk/browser_window_gtk.h
index fdbf27c..4120596 100644
--- a/chrome/browser/gtk/browser_window_gtk.h
+++ b/chrome/browser/gtk/browser_window_gtk.h
@@ -195,6 +195,11 @@ class BrowserWindowGtk : public BrowserWindow,
// the toolbar (under the tab strip), but do not round the top corners.
bool ShouldDrawContentDropShadow();
+ // Tells GTK that the toolbar area is invalidated and needs redrawing. We
+ // have this method as a hack because GTK doesn't queue the toolbar area for
+ // redraw when it should.
+ void QueueToolbarRedraw();
+
protected:
virtual void DestroyBrowser();
// Top level window.