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

Issue 2143863003: Simplify protocol between SELECT elements and popups. (Closed)

Created:
4 years, 5 months ago by tkent
Modified:
4 years, 2 months ago
Reviewers:
keishi, wychen
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@select-remove-fixed-args
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify protocol between SELECT elements and popups. - Rename listBoxSelectItem to selectMultipleOptionsByPopup, and it accepts index vector. - Rename valueChanged to selectOptionByPopup. Single-selection menulist accepts only selectOptionByPopup(). Multiple-selection menulist accepts selectOptionByPopup(-1) and selectMultipleOptionsByPopup(). Committed: https://crrev.com/bd9726939278a4ce06a29875a89b5dba9f01d2ca Cr-Commit-Position: refs/heads/master@{#405134}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -23 lines) Patch
M third_party/WebKit/Source/core/html/HTMLSelectElement.h View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 5 chunks +17 lines, -15 lines 2 comments Download
M third_party/WebKit/Source/web/ExternalPopupMenu.cpp View 2 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/PopupMenuImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (7 generated)
tkent
Keishi, would you review this please?
4 years, 5 months ago (2016-07-13 08:59:23 UTC) #3
keishi
LGTM!
4 years, 5 months ago (2016-07-13 09:31:58 UTC) #4
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/2143863003/1
4 years, 5 months ago (2016-07-13 10:12:45 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/244196)
4 years, 5 months ago (2016-07-13 11:28:43 UTC) #8
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/2143863003/1
4 years, 5 months ago (2016-07-13 12:30:34 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-13 13:11:51 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 13:12:05 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/bd9726939278a4ce06a29875a89b5dba9f01d2ca Cr-Commit-Position: refs/heads/master@{#405134}
4 years, 5 months ago (2016-07-13 13:13:53 UTC) #14
wychen
https://codereview.chromium.org/2143863003/diff/1/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp File third_party/WebKit/Source/core/html/HTMLSelectElement.cpp (right): https://codereview.chromium.org/2143863003/diff/1/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp#newcode214 third_party/WebKit/Source/core/html/HTMLSelectElement.cpp:214: DCHECK(!multiple()); Should this line be DCHECK(multiple())? I'm a bit ...
4 years, 2 months ago (2016-09-29 02:42:57 UTC) #16
tkent
4 years, 2 months ago (2016-09-29 03:14:55 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/2143863003/diff/1/third_party/WebKit/Source/c...
File third_party/WebKit/Source/core/html/HTMLSelectElement.cpp (right):

https://codereview.chromium.org/2143863003/diff/1/third_party/WebKit/Source/c...
third_party/WebKit/Source/core/html/HTMLSelectElement.cpp:214:
DCHECK(!multiple());
On 2016/09/29 at 02:42:57, wychen wrote:
> Should this line be DCHECK(multiple())?

I think so :)

Powered by Google App Engine
This is Rietveld 408576698