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

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

Issue 2709093006: Adding new shipping address editor view to payment flow. (Closed)
Patch Set: Working version Created 3 years, 9 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.cc
diff --git a/chrome/browser/ui/views/payments/view_stack.cc b/chrome/browser/ui/views/payments/view_stack.cc
index e9780f3b16228281ffdecca3a20f2f47c477a846..fb6071fe7e234ceb2343bd61d4b4c283abdb6cb8 100644
--- a/chrome/browser/ui/views/payments/view_stack.cc
+++ b/chrome/browser/ui/views/payments/view_stack.cc
@@ -4,8 +4,12 @@
#include "chrome/browser/ui/views/payments/view_stack.h"
+#include <memory>
+#include <utility>
+
#include "base/memory/ptr_util.h"
#include "ui/views/layout/fill_layout.h"
+#include "ui/views/widget/widget.h"
ViewStack::ViewStack()
: slide_in_animator_(base::MakeUnique<views::BoundsAnimator>(this)),
@@ -81,7 +85,7 @@ void ViewStack::UpdateAnimatorBounds(
// If an animator is currently animating, figure out which views and update
// their target bounds.
if (animator->IsAnimating()) {
- for (auto& view: stack_) {
+ for (auto& view : stack_) {
if (animator->IsAnimating(view.get())) {
animator->SetTargetBounds(view.get(), target);
}

Powered by Google App Engine
This is Rietveld 408576698