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

Unified Diff: chrome/browser/views/tabs/tab_overview_grid.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_grid.h
===================================================================
--- chrome/browser/views/tabs/tab_overview_grid.h (revision 18480)
+++ chrome/browser/views/tabs/tab_overview_grid.h (working copy)
@@ -30,11 +30,20 @@
// Cancels the drag. Does nothing if a drag is not underway.
void CancelDrag();
+ // If a drag is under way, this invokes Drag on the DragController with the
+ // current position of the mouse.
+ void UpdateDragController();
+
// View overrides.
virtual bool OnMousePressed(const views::MouseEvent& event);
virtual bool OnMouseDragged(const views::MouseEvent& event);
virtual void OnMouseReleased(const views::MouseEvent& event, bool canceled);
+ // AnimationDelegate overrides.
+ virtual void AnimationEnded(const Animation* animation);
+ virtual void AnimationProgressed(const Animation* animation);
+ virtual void AnimationCanceled(const Animation* animation);
+
private:
TabOverviewController* controller_;

Powered by Google App Engine
This is Rietveld 408576698