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

Unified Diff: public/web/WebFormControlElement.h

Issue 1208063002: [Autofill/Autocomplete Feature] Substring matching instead of prefix matching (Blink). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « Source/web/WebFormControlElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFormControlElement.h
diff --git a/public/web/WebFormControlElement.h b/public/web/WebFormControlElement.h
index 877e59c86d2ca7ed980fbbd9561e7027e303c8de..0339d123ee1a84b701ea7c1891acfc6ce0a626d0 100644
--- a/public/web/WebFormControlElement.h
+++ b/public/web/WebFormControlElement.h
@@ -110,6 +110,12 @@ public:
BLINK_EXPORT WebFormElement form() const;
+ // Sets the text selection start offset for the suggested value for element.
+ BLINK_EXPORT void setSuggestedValueStart(int);
+
+ // Returns the text selection start offset for the suggested value for element.
+ BLINK_EXPORT int suggestedValueStart() const;
+
#if BLINK_IMPLEMENTATION
WebFormControlElement(const PassRefPtrWillBeRawPtr<HTMLFormControlElement>&);
WebFormControlElement& operator=(const PassRefPtrWillBeRawPtr<HTMLFormControlElement>&);
« no previous file with comments | « Source/web/WebFormControlElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698