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

Unified Diff: chrome/browser/ui/views/payments/view_stack.h

Issue 2817533006: [Web Payments] Add PopMany and Size functions to ViewStack (Closed)
Patch Set: Created 3 years, 8 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/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.

Powered by Google App Engine
This is Rietveld 408576698