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

Unified Diff: components/autofill/content/renderer/form_autofill_util.h

Issue 147533005: [Password Generation] Update UI to match final mocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replace_password_generation_ui
Patch Set: Merge Created 6 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/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_

Powered by Google App Engine
This is Rietveld 408576698