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

Unified Diff: components/autofill/ios/browser/autofill_driver_ios.mm

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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/ios/browser/autofill_driver_ios.mm
diff --git a/components/autofill/ios/browser/autofill_driver_ios.mm b/components/autofill/ios/browser/autofill_driver_ios.mm
index 1f32dddc5e36d30af94f20382df3d47d8ea96b02..49a24f0f997993f04299120ded631dc02fe3546e 100644
--- a/components/autofill/ios/browser/autofill_driver_ios.mm
+++ b/components/autofill/ios/browser/autofill_driver_ios.mm
@@ -8,6 +8,7 @@
#include "ios/web/public/browser_state.h"
#include "ios/web/public/web_state/web_state.h"
#include "ios/web/public/web_thread.h"
+#include "ui/gfx/geometry/rect_f.h"
DEFINE_WEB_STATE_USER_DATA_KEY(autofill::AutofillDriverIOS);
@@ -98,4 +99,9 @@ void AutofillDriverIOS::RendererShouldPreviewFieldWithValue(
void AutofillDriverIOS::PopupHidden() {
}
+gfx::RectF AutofillDriverIOS::TransformBoundingBoxToViewportCoordinates(
+ const gfx::RectF& bounding_box) {
+ return bounding_box;
+}
+
} // namespace autofill
« no previous file with comments | « components/autofill/ios/browser/autofill_driver_ios.h ('k') | content/browser/frame_host/cross_process_frame_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698