diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 20:23:58 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 20:23:58 +0000 |
commit | 8374eafe188529606256db18fe92ae4f29d736cf (patch) | |
tree | d371f2079d236698a898d960703f06390093c5d4 /chrome/browser/views/tabs/tab_overview_container.h | |
parent | 09b8f82f39b2e3613a4518d9390004522e432063 (diff) | |
download | chromium_src-8374eafe188529606256db18fe92ae4f29d736cf.zip chromium_src-8374eafe188529606256db18fe92ae4f29d736cf.tar.gz chromium_src-8374eafe188529606256db18fe92ae4f29d736cf.tar.bz2 |
Improved tab overview animations with better animation and wiring to
message loop.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/126185
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tabs/tab_overview_container.h')
-rw-r--r-- | chrome/browser/views/tabs/tab_overview_container.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/views/tabs/tab_overview_container.h b/chrome/browser/views/tabs/tab_overview_container.h index 119fde4..f346192 100644 --- a/chrome/browser/views/tabs/tab_overview_container.h +++ b/chrome/browser/views/tabs/tab_overview_container.h @@ -21,8 +21,10 @@ class TabOverviewContainer : public views::View { // adjusting for our borders. void SetMaxSize(const gfx::Size& max_size); - // Updates the shape on the containing widget. - void UpdateWidgetShape(int width, int height); + // Updates the shape on the containing widget. |horizontal_center| gives the + // center of the window the parent window we're contained in is centered + // over. + void UpdateWidgetShape(int horizontal_center, int width, int height); // View overrides. virtual gfx::Size GetPreferredSize(); |