| Index: chrome/browser/views/tabs/grid.h
|
| ===================================================================
|
| --- chrome/browser/views/tabs/grid.h (revision 18480)
|
| +++ chrome/browser/views/tabs/grid.h (working copy)
|
| @@ -65,6 +65,16 @@
|
| // Returns the bounds of the specified cell.
|
| gfx::Rect CellBounds(int index);
|
|
|
| + // Returns the value based on the current animation. |start| gives the
|
| + // starting coordinate and |target| the target coordinate. The resulting
|
| + // value is between |start| and |target| based on the current animation.
|
| + int AnimationPosition(int start, int target);
|
| +
|
| + // Convenience for returning a rectangle between |start_bounds| and
|
| + // |target_bounds| based on the current animation.
|
| + gfx::Rect AnimationPosition(const gfx::Rect& start_bounds,
|
| + const gfx::Rect& target_bounds);
|
| +
|
| // View overrides.
|
| virtual void ViewHierarchyChanged(bool is_add,
|
| views::View* parent,
|
| @@ -94,11 +104,6 @@
|
| // Resets the bounds of each cell to that of target_bounds_.
|
| void SetViewBoundsToTarget();
|
|
|
| - // Returns the value based on the current animation. |start| gives the
|
| - // starting coordinate and |target| the target coordinate. The resulting
|
| - // value is between |start| and |target| based on the current animation.
|
| - int AnimationPosition(int start, int target);
|
| -
|
| // The animation.
|
| SlideAnimation animation_;
|
|
|
|
|