diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 22:40:44 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 22:40:44 +0000 |
commit | afb738834f1e43f4607f1d5d00bae23aa740dbaa (patch) | |
tree | d12bcf05a51aeb5369b72c1ee838e984a7b9d76f /chrome/browser/browser_window.h | |
parent | 5a068bd029b1d28374f0cf26cbb74bc1ef33bd0c (diff) | |
download | chromium_src-afb738834f1e43f4607f1d5d00bae23aa740dbaa.zip chromium_src-afb738834f1e43f4607f1d5d00bae23aa740dbaa.tar.gz chromium_src-afb738834f1e43f4607f1d5d00bae23aa740dbaa.tar.bz2 |
Rewire the throbber so that the timer for updating lives on BrowserView, not TabStrip, so that app window/popup throbber updating doesn't need to be plumbed through the tabstrip and the browser object!
http://crbug.com/3297
Review URL: http://codereview.chromium.org/10761
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r-- | chrome/browser/browser_window.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h index f500c42..2cd1648 100644 --- a/chrome/browser/browser_window.h +++ b/chrome/browser/browser_window.h @@ -71,11 +71,10 @@ class BrowserWindow { // TODO(beng): make this pure virtual after XPFrame/VistaFrame retire. virtual void UpdateTitleBar() = 0; - // Updates internal state specifying whether the throbber is to be shown. - // If the throbber was shown, and should still be shown, the frame of the - // throbber is advanced. - // If necessary, the appropriate painting is scheduled. - virtual void ValidateThrobber() { } + // Update any loading animations running in the window. |should_animate| is + // true if there are tabs loading and the animations should continue, false + // if there are no active loads and the animations should end. + virtual void UpdateLoadingAnimations(bool should_animate) = 0; // TODO(beng): RENAME (GetRestoredBounds) // Returns the nonmaximized bounds of the frame (even if the frame is |