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

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

Issue 962673004: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 1be05cdac08433fab3baf5dd2e293ea3d2af413c..bc78c49c7af7e6c2da0650a86f6b7701ebe12c67 100644
--- a/components/autofill/content/renderer/form_autofill_util.h
+++ b/components/autofill/content/renderer/form_autofill_util.h
@@ -176,6 +176,12 @@ 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::WebElement* element);
+// Previews the |input_element| with supplied |suggestion| and |user_input|.
+// |input_element| should not be null.
please use gerrit instead 2015/07/06 20:15:17 Please add to the comment the reason why you don't
Pritam Nikam 2015/07/07 16:18:31 Done. Issue logged: http://crbug.com/507714
please use gerrit instead 2015/07/07 18:09:12 Acknowledged.
+void PreviewSuggestion(const base::string16& suggestion,
+ const base::string16& user_input,
+ blink::WebFormControlElement* input_element);
+
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_AUTOFILL_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698