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/views/tabs/tab_strip.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/views/tabs/tab_strip.h')
-rw-r--r-- | chrome/browser/views/tabs/tab_strip.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h index ed752d0..360ab41 100644 --- a/chrome/browser/views/tabs/tab_strip.h +++ b/chrome/browser/views/tabs/tab_strip.h @@ -92,6 +92,9 @@ class TabStrip : public views::View, // Retrieve the ideal bounds for the Tab at the specified index. gfx::Rect GetIdealBounds(int index); + // Updates loading animations for the TabStrip. + void UpdateLoadingAnimations(); + // views::View overrides: virtual void PaintChildren(ChromeCanvas* canvas); virtual views::View* GetViewByID(int id) const; @@ -122,7 +125,6 @@ class TabStrip : public views::View, bool user_gesture); virtual void TabMoved(TabContents* contents, int from_index, int to_index); virtual void TabChangedAt(TabContents* contents, int index); - virtual void TabValidateAnimations(); // Tab::Delegate implementation: virtual bool IsTabSelected(const Tab* tab) const; @@ -204,9 +206,6 @@ class TabStrip : public views::View, void AddMessageLoopObserver(); void RemoveMessageLoopObserver(); - // Called to update the frame of the Loading animations. - void LoadingAnimationCallback(); - // -- Link Drag & Drop ------------------------------------------------------ // Returns the bounds to render the drop at, in screen coordinates. Sets @@ -290,9 +289,6 @@ class TabStrip : public views::View, // TODO(beng): (Cleanup) this would be better named "needs_resize_layout_". bool resize_layout_scheduled_; - // The timer used to update frames for the Loading Animation. - base::RepeatingTimer<TabStrip> loading_animation_timer_; - // The "New Tab" button. views::Button* newtab_button_; gfx::Size newtab_button_size_; |