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

Unified Diff: components/autofill/core/browser/autofill_driver.h

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/autofill_driver.h
diff --git a/components/autofill/core/browser/autofill_driver.h b/components/autofill/core/browser/autofill_driver.h
index 82e0f1244a621b6d7d72a1b94e1a1e7ae66d90f8..3b2bd351406ecef014b577925752af0ece2dfd45 100644
--- a/components/autofill/core/browser/autofill_driver.h
+++ b/components/autofill/core/browser/autofill_driver.h
@@ -17,6 +17,10 @@ namespace net {
class URLRequestContextGetter;
}
+namespace gfx {
+class RectF;
+}
+
namespace autofill {
class FormStructure;
@@ -89,6 +93,9 @@ class AutofillDriver {
// Informs the renderer that the popup has been hidden.
virtual void PopupHidden() = 0;
+
+ // Transform bounding box screen coordinates to correct coordinate space.
+ virtual gfx::RectF TransformBoundingBox(const gfx::RectF& bounding_box) = 0;
Ilya Sherman 2016/01/20 23:12:15 I think it might be nice to name this somehow so t
kenrb 2016/01/22 18:33:58 I think the new name is accurate.
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698