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

Side by Side Diff: chrome/browser/ui/autofill/autocheckout_bubble_controller.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/autofill/autocheckout_bubble_controller.h" 5 #include "chrome/browser/ui/autofill/autocheckout_bubble_controller.h"
6 6
7 #include "chrome/browser/autofill/autofill_metrics.h" 7 #include "components/autofill/browser/autofill_metrics.h"
8 #include "grit/generated_resources.h" 8 #include "grit/generated_resources.h"
9 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
10 #include "ui/gfx/rect_conversions.h" 10 #include "ui/gfx/rect_conversions.h"
11 11
12 namespace autofill { 12 namespace autofill {
13 13
14 AutocheckoutBubbleController::AutocheckoutBubbleController( 14 AutocheckoutBubbleController::AutocheckoutBubbleController(
15 const gfx::RectF& anchor_rect, 15 const gfx::RectF& anchor_rect,
16 const base::Closure& callback) 16 const base::Closure& callback)
17 : anchor_rect_(gfx::ToEnclosingRect(anchor_rect)), 17 : anchor_rect_(gfx::ToEnclosingRect(anchor_rect)),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 AutofillMetrics::BUBBLE_IGNORED); 58 AutofillMetrics::BUBBLE_IGNORED);
59 } 59 }
60 } 60 }
61 61
62 void AutocheckoutBubbleController::set_metric_logger( 62 void AutocheckoutBubbleController::set_metric_logger(
63 AutofillMetrics* metric_logger) { 63 AutofillMetrics* metric_logger) {
64 metric_logger_.reset(metric_logger); 64 metric_logger_.reset(metric_logger);
65 } 65 }
66 66
67 } // namespace autofill 67 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698