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

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

Issue 2676663002: [Payments] Implements the credit card editor for Desktop UI (Closed)
Patch Set: Initial Created 3 years, 11 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 f29feac0cc005219d1eb95a62843e360a13b440e..3699ef291fb53bdf776b9bb4e2738b05a0df9aff 100644
--- a/chrome/browser/ui/views/payments/view_stack.h
+++ b/chrome/browser/ui/views/payments/view_stack.h
@@ -9,6 +9,10 @@
#include "ui/views/animation/bounds_animator.h"
#include "ui/views/animation/bounds_animator_observer.h"
+namespace payments {
+class PaymentRequestInteractiveTestBase;
+} // namespace payments
+
please use gerrit instead 2017/02/02 20:19:03 Is this forward declaration necessary?
Mathieu 2017/02/03 02:18:57 Yes :\ It was cryptic to me why it was needed; som
// This view represents a stack of views that slide in over one another from
// left to right. It manages the animation and lifetime of views that are
// pushed and popped on it. To use this class, add it to a view hierarchy, and
@@ -43,6 +47,7 @@ class ViewStack : public views::BoundsAnimatorObserver,
FRIEND_TEST_ALL_PREFIXES(ViewStackTest, TestPushStateAddsViewToChildren);
FRIEND_TEST_ALL_PREFIXES(ViewStackTest, TestLayoutUpdatesAnimations);
friend class ViewStackTest;
+ friend class payments::PaymentRequestInteractiveTestBase;
// Returns the top state of the stack, used in tests.
views::View* top() { return stack_.back().get(); }

Powered by Google App Engine
This is Rietveld 408576698