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

Unified 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: Mo IOS fixin 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/test_autofill_driver.cc
diff --git a/components/autofill/core/browser/test_autofill_driver.cc b/components/autofill/core/browser/test_autofill_driver.cc
index 38a83ed7d1b9b2240d36e2a8d1990cfe4d922eb9..c0442bee082f67723ef585b2c3367aba0872e99c 100644
--- a/components/autofill/core/browser/test_autofill_driver.cc
+++ b/components/autofill/core/browser/test_autofill_driver.cc
@@ -6,6 +6,7 @@
#include "base/test/sequenced_worker_pool_owner.h"
#include "base/threading/sequenced_worker_pool.h"
+#include "ui/gfx/geometry/rect_f.h"
namespace autofill {
@@ -71,4 +72,9 @@ void TestAutofillDriver::RendererShouldPreviewFieldWithValue(
void TestAutofillDriver::PopupHidden() {
}
+gfx::RectF TestAutofillDriver::TransformBoundingBox(
Charlie Reis 2016/01/21 00:33:03 Is there any way to test the new API, either here
kenrb 2016/01/22 18:33:58 The API is tested implicitly by SitePerProcessBrow
Charlie Reis 2016/01/22 23:04:54 Acknowledged.
+ const gfx::RectF& bounding_box) {
+ return bounding_box;
+}
+
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698