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

Side by Side Diff: components/autofill/core/browser/test_autofill_driver.cc

Issue 1526263003: Position autofill popup widgets correctly under --site-per-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed incorrect cast Created 4 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 unified diff | Download patch
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 "components/autofill/core/browser/test_autofill_driver.h" 5 #include "components/autofill/core/browser/test_autofill_driver.h"
6 6
7 #include "base/test/sequenced_worker_pool_owner.h" 7 #include "base/test/sequenced_worker_pool_owner.h"
8 #include "base/threading/sequenced_worker_pool.h" 8 #include "base/threading/sequenced_worker_pool.h"
9 #include "ui/gfx/geometry/rect_f.h"
9 10
10 namespace autofill { 11 namespace autofill {
11 12
12 TestAutofillDriver::TestAutofillDriver() 13 TestAutofillDriver::TestAutofillDriver()
13 : blocking_pool_owner_( 14 : blocking_pool_owner_(
14 new base::SequencedWorkerPoolOwner(4, "TestAutofillDriver")), 15 new base::SequencedWorkerPoolOwner(4, "TestAutofillDriver")),
15 url_request_context_(NULL) {} 16 url_request_context_(NULL) {}
16 17
17 TestAutofillDriver::~TestAutofillDriver() {} 18 TestAutofillDriver::~TestAutofillDriver() {}
18 19
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const base::string16& value) { 65 const base::string16& value) {
65 } 66 }
66 67
67 void TestAutofillDriver::RendererShouldPreviewFieldWithValue( 68 void TestAutofillDriver::RendererShouldPreviewFieldWithValue(
68 const base::string16& value) { 69 const base::string16& value) {
69 } 70 }
70 71
71 void TestAutofillDriver::PopupHidden() { 72 void TestAutofillDriver::PopupHidden() {
72 } 73 }
73 74
75 gfx::RectF TestAutofillDriver::TransformBoundingBoxToViewportCoordinates(
76 const gfx::RectF& bounding_box) {
77 return bounding_box;
78 }
79
74 } // namespace autofill 80 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/core/browser/test_autofill_driver.h ('k') | components/autofill/ios/browser/autofill_driver_ios.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698