Index: components/autofill/content/renderer/form_autofill_util.h |
diff --git a/components/autofill/content/renderer/form_autofill_util.h b/components/autofill/content/renderer/form_autofill_util.h |
index 39134810f92524d8ec5b0c1e22e8f8131a07e30d..f3384f1d803b955c4759d6204b02db083b6257fc 100644 |
--- a/components/autofill/content/renderer/form_autofill_util.h |
+++ b/components/autofill/content/renderer/form_autofill_util.h |
@@ -8,6 +8,7 @@ |
#include <vector> |
#include "base/strings/string16.h" |
+#include "ui/gfx/rect.h" |
namespace blink { |
class WebDocument; |
@@ -167,6 +168,9 @@ bool IsWebpageEmpty(const blink::WebFrame* frame); |
// are of the type <script>, <meta>, or <title>. |
bool IsWebElementEmpty(const blink::WebElement& element); |
+// Return a gfx::RectF that is the bounding box for |element| scaled by |scale|. |
+gfx::RectF GetScaledBoundingBox(float scale, blink::WebInputElement* element); |
+ |
} // namespace autofill |
#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_AUTOFILL_UTIL_H_ |