summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_bar_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 18:31:05 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-31 18:31:05 +0000
commit62391376b5c86eea70af0d8e429ffc8a4b56e60d (patch)
treee5382e8663a693fc0f78040310e403f46ecaa7b2 /chrome/browser/gtk/bookmark_bar_gtk.h
parent2951965787cea2ad2f1c966791a68e2f10874071 (diff)
downloadchromium_src-62391376b5c86eea70af0d8e429ffc8a4b56e60d.zip
chromium_src-62391376b5c86eea70af0d8e429ffc8a4b56e60d.tar.gz
chromium_src-62391376b5c86eea70af0d8e429ffc8a4b56e60d.tar.bz2
Don't resize the renderer while opening the bookmark bar or an infobar.
This is just a performance optimization. Previously this code was added for closing bookmark bars as a bit of visual polish.Doing the same thing for opening bookmark bars should reduce CPU usage but it won't look any different (for fast computers anyway). BUG=17133 Review URL: http://codereview.chromium.org/183011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/bookmark_bar_gtk.h')
-rw-r--r--chrome/browser/gtk/bookmark_bar_gtk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.h b/chrome/browser/gtk/bookmark_bar_gtk.h
index 4d453fd..f779a52 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.h
+++ b/chrome/browser/gtk/bookmark_bar_gtk.h
@@ -69,8 +69,8 @@ class BookmarkBarGtk : public AnimationDelegate,
// Get the current height of the bookmark bar.
int GetHeight();
- // Returns true if the bookmark bar is showing the close animation.
- bool IsClosing();
+ // Returns true if the bookmark bar is showing an animation.
+ bool IsAnimating();
// Returns true if the bookmarks bar preference is set to 'always show'.
bool IsAlwaysShown();