Reviewers: Ilya Sherman, vabr (Chromium)
CL:
https://codereview.chromium.org/2174303002/Message:
isherman@, or vabr@, would you review this please?
This is a preparation for
crbug.com/153991 and
crbug.com/607097.
Description:
Move filtering logic in GetDataListSuggestions() to Blink.
Add blink::WebInputElement::filteredDataListOptions(), and it implements the
filtering logic in GetDataListSuggestions().
The logic should be in Blink because it affects a web-platform behavior.
This CL doesn't have behavior changes.
BUG=153991
Base URL:
https://chromium.googlesource.com/chromium/src.git@masterAffected files (+104, -30 lines):
M components/autofill/content/renderer/autofill_agent.cc
M third_party/WebKit/Source/web/WebInputElement.cpp
A third_party/WebKit/Source/web/WebInputElementTest.cpp
M third_party/WebKit/Source/web/web.gypi
M third_party/WebKit/public/web/WebInputElement.h