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

Issue 2174303002: Move filtering logic in GetDataListSuggestions() to Blink. (Closed)

Created:
4 years, 4 months ago by tkent
Modified:
4 years, 4 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, estade+watch_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, kinuko+watch, mlamouri+watch-content_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move filtering logic in GetDataListSuggestions() to Blink. Add blink::WebInputElement::filteredDataListOptions(), and it implements the filtering logic which was in GetDataListSuggestions(). The logic should be in Blink because it affects a web-platform behavior. This CL doesn't have behavior changes. BUG=153991 Committed: https://crrev.com/7b8a38bd4485221cc71355c22e86c3e4c5b2a970 Cr-Commit-Position: refs/heads/master@{#407709}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add <memory> #

Patch Set 3 : Move implementation to HTMLInputElement #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -53 lines) Patch
M components/autofill/content/renderer/autofill_agent.cc View 1 chunk +1 line, -23 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.h View 1 2 1 chunk +2 lines, -0 lines 1 comment Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElementTest.cpp View 1 2 5 chunks +73 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputElement.cpp View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebInputElement.h View 1 2 2 chunks +3 lines, -1 line 1 comment Download

Messages

Total messages: 28 (18 generated)
tkent
isherman@, or vabr@, would you review this please? This is a preparation for crbug.com/153991 and ...
4 years, 4 months ago (2016-07-25 13:19:36 UTC) #4
vabr (Chromium)
LGTM, thanks! Vaclav https://codereview.chromium.org/2174303002/diff/1/third_party/WebKit/Source/web/WebInputElementTest.cpp File third_party/WebKit/Source/web/WebInputElementTest.cpp (right): https://codereview.chromium.org/2174303002/diff/1/third_party/WebKit/Source/web/WebInputElementTest.cpp#newcode30 third_party/WebKit/Source/web/WebInputElementTest.cpp:30: std::unique_ptr<DummyPageHolder> m_pageHolder; nit: #include <memory> for ...
4 years, 4 months ago (2016-07-25 13:59:53 UTC) #7
dglazkov
I think this move is great start, but WebInputElement is not the final resting place. ...
4 years, 4 months ago (2016-07-25 14:26:41 UTC) #12
tkent
On 2016/07/25 at 14:26:41, dglazkov wrote: > I think this move is great start, but ...
4 years, 4 months ago (2016-07-26 01:53:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2174303002/40001
4 years, 4 months ago (2016-07-26 03:07:33 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-26 04:39:24 UTC) #23
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/7b8a38bd4485221cc71355c22e86c3e4c5b2a970 Cr-Commit-Position: refs/heads/master@{#407709}
4 years, 4 months ago (2016-07-26 04:40:39 UTC) #25
dglazkov
On 2016/07/26 at 04:40:39, commit-bot wrote: > Patchset 3 (id:??) landed as https://crrev.com/7b8a38bd4485221cc71355c22e86c3e4c5b2a970 > Cr-Commit-Position: ...
4 years, 4 months ago (2016-07-26 04:51:22 UTC) #26
vabr (Chromium)
Still LGTM, just 2 post-landing optional nits. Cheers, Vaclav https://codereview.chromium.org/2174303002/diff/40001/third_party/WebKit/Source/core/html/HTMLInputElement.h File third_party/WebKit/Source/core/html/HTMLInputElement.h (right): https://codereview.chromium.org/2174303002/diff/40001/third_party/WebKit/Source/core/html/HTMLInputElement.h#newcode211 third_party/WebKit/Source/core/html/HTMLInputElement.h:211: ...
4 years, 4 months ago (2016-07-26 12:05:03 UTC) #27
tkent
4 years, 4 months ago (2016-07-27 03:55:14 UTC) #28
Message was sent while issue was closed.
oops, will fix typos.

Powered by Google App Engine
This is Rietveld 408576698