Chromium Code Reviews| Index: chrome/browser/ui/views/payments/view_stack.h |
| diff --git a/chrome/browser/ui/views/payments/view_stack.h b/chrome/browser/ui/views/payments/view_stack.h |
| index 5b48c6de8c5dcbd5b102c6d8ca55a3fca10a9eec..1061e6d4f28c6e27d011b15d6b8b1acbc4f0e85b 100644 |
| --- a/chrome/browser/ui/views/payments/view_stack.h |
| +++ b/chrome/browser/ui/views/payments/view_stack.h |
| @@ -33,6 +33,11 @@ class ViewStack : public views::BoundsAnimatorObserver, |
| // it's properly deleted after the animation. |
| void Pop(); |
| + // Removes |n| views from the stack but only animates the topmost one. |
|
Mathieu
2017/04/13 16:55:23
Optionally: // The end result is an animation from
anthonyvd
2017/04/13 20:22:58
Done.
|
| + void PopMany(int n); |
| + |
| + size_t size() const; |
| + |
| // views::View: |
| // The children of this view must not be able to process events when the views |
| // are being animated so this returns false when an animation is in progress. |