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

Unified Diff: third_party/WebKit/public/web/WebInputElement.h

Issue 2174303002: Move filtering logic in GetDataListSuggestions() to Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move implementation to HTMLInputElement Created 4 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: third_party/WebKit/public/web/WebInputElement.h
diff --git a/third_party/WebKit/public/web/WebInputElement.h b/third_party/WebKit/public/web/WebInputElement.h
index b9b89050a4147e5280813d9e2a848794cc1b07c9..cd5dcc8973428060776b36d7b80404369ee24f9f 100644
--- a/third_party/WebKit/public/web/WebInputElement.h
+++ b/third_party/WebKit/public/web/WebInputElement.h
@@ -37,6 +37,7 @@ namespace blink {
class HTMLInputElement;
class WebElementCollection;
+class WebOptionElement;
// Provides readonly access to some properties of a DOM input element node.
class WebInputElement final : public WebFormControlElement {
@@ -76,7 +77,8 @@ public:
BLINK_EXPORT bool isChecked() const;
BLINK_EXPORT bool isMultiple() const;
- BLINK_EXPORT WebElementCollection dataListOptions() const;
+ // Associated <datalsit> options which match to the current INPUT value.
vabr (Chromium) 2016/07/26 12:05:03 typo: datalsit -> datalist
+ BLINK_EXPORT WebVector<WebOptionElement> filteredDataListOptions() const;
// Return the localized value for this input type.
BLINK_EXPORT WebString localizeValue(const WebString&) const;

Powered by Google App Engine
This is Rietveld 408576698