Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2936)

Unified Diff: chrome/browser/views/tabs/tab_overview_container.h

Issue 126185: Improved tab overview animations with better animation and wiring to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/tabs/tab_overview_container.h
===================================================================
--- chrome/browser/views/tabs/tab_overview_container.h (revision 18480)
+++ chrome/browser/views/tabs/tab_overview_container.h (working copy)
@@ -21,8 +21,10 @@
// 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();

Powered by Google App Engine
This is Rietveld 408576698