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

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

Issue 2709093006: Adding new shipping address editor view to payment flow. (Closed)
Patch Set: CR comments 1 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"
anthonyvd 2017/03/21 21:18:24 I don't think this include is required.
MAD 2017/03/22 20:15:42 Done.
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