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

Issue 2911363002: DevTools: Split SoftDropdown out of ConsoleContextSelector (Closed)

Created:
3 years, 6 months ago by einbinder
Modified:
3 years, 6 months ago
Reviewers:
caseq, dgozman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, dcheng, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Split SoftDropdown out of ConsoleContextSelector BUG=none Review-Url: https://codereview.chromium.org/2911363002 Cr-Commit-Position: refs/heads/master@{#478854} Committed: https://chromium.googlesource.com/chromium/src/+/ac01d0ced61e8512ec144b6689bdfb633732d618

Patch Set 1 #

Total comments: 36

Patch Set 2 : fix some stuff #

Patch Set 3 : highlight #

Patch Set 4 : remove tabindex #

Patch Set 5 : fix test #

Patch Set 6 : remove depth in test #

Total comments: 21

Patch Set 7 : format #

Patch Set 8 : inline select #

Total comments: 19

Patch Set 9 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, -302 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/inspector-unit/soft-drop-down.js View 1 2 3 4 5 6 1 chunk +94 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector-unit/soft-drop-down-expected.txt View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-context-selector.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js View 1 2 3 4 5 6 7 8 13 chunks +43 lines, -239 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/console/consoleContextSelector.css View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -22 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/console/consoleContextSelectorButton.css View 1 chunk +0 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/module.json View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js View 1 2 3 4 5 6 7 1 chunk +314 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/module.json View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css View 1 2 3 4 5 6 7 8 1 chunk +24 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/ui/softDropDownButton.css View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
einbinder
ptal https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css File third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css (right): https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css#newcode56 third_party/WebKit/Source/devtools/front_end/ui/softDropDown.css:56: color: white; I am not sure where this ...
3 years, 6 months ago (2017-05-30 22:30:41 UTC) #2
caseq
https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js (right): https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js#newcode51 third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js:51: resourceTreeModel.domModel().overlayModel().highlightFrame(item.frameId); why not directly get OverlayModel for target? https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js ...
3 years, 6 months ago (2017-05-30 23:40:08 UTC) #3
einbinder
https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js (right): https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js#newcode51 third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js:51: resourceTreeModel.domModel().overlayModel().highlightFrame(item.frameId); On 2017/05/30 at 23:40:07, caseq wrote: > why ...
3 years, 6 months ago (2017-05-31 21:14:27 UTC) #4
einbinder
ptal, rebased on ListModel patch https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js File third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js (right): https://codereview.chromium.org/2911363002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js#newcode228 third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js:228: element.style.paddingLeft = (8 + ...
3 years, 6 months ago (2017-06-05 21:03:39 UTC) #5
caseq
https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js File third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js (right): https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js#newcode97 third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js:97: case 'ArrowUp': Can you drop this and UI.ListControl do ...
3 years, 6 months ago (2017-06-06 18:06:00 UTC) #6
dgozman
https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js File third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js (right): https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js#newcode180 third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js:180: setRowHeight(rowHeight) { Why not go to delegate? Looks like ...
3 years, 6 months ago (2017-06-06 19:09:22 UTC) #8
einbinder
https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js File third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js (right): https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js#newcode97 third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js:97: case 'ArrowUp': On 2017/06/06 at 18:06:00, caseq wrote: > ...
3 years, 6 months ago (2017-06-08 23:43:27 UTC) #9
caseq
On 2017/06/08 23:43:27, einbinder wrote: > https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js > File third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js (right): > > https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js#newcode97 > ...
3 years, 6 months ago (2017-06-09 18:53:17 UTC) #10
einbinder
On 2017/06/09 at 18:53:17, caseq wrote: > On 2017/06/08 23:43:27, einbinder wrote: > > https://codereview.chromium.org/2911363002/diff/100001/third_party/WebKit/Source/devtools/front_end/ui/SoftDropDown.js ...
3 years, 6 months ago (2017-06-09 21:17:51 UTC) #11
caseq
lgtm https://codereview.chromium.org/2911363002/diff/140001/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js (right): https://codereview.chromium.org/2911363002/diff/140001/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js#newcode247 third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js:247: * @return {!Element} element drop 'element' https://codereview.chromium.org/2911363002/diff/140001/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js#newcode327 third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js:327: ...
3 years, 6 months ago (2017-06-10 00:52:54 UTC) #12
dgozman
lgtm https://codereview.chromium.org/2911363002/diff/140001/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js (right): https://codereview.chromium.org/2911363002/diff/140001/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js#newcode250 third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js:250: var element = createElementWithClass('div', 'context'); 'context' is not ...
3 years, 6 months ago (2017-06-12 17:44:43 UTC) #13
einbinder
https://codereview.chromium.org/2911363002/diff/140001/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js (right): https://codereview.chromium.org/2911363002/diff/140001/third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js#newcode247 third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js:247: * @return {!Element} element On 2017/06/10 at 00:52:54, caseq ...
3 years, 6 months ago (2017-06-12 22:23:22 UTC) #14
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/2911363002/160001
3 years, 6 months ago (2017-06-12 22:24:05 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 01:17:07 UTC) #20
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/ac01d0ced61e8512ec144b6689bd...

Powered by Google App Engine
This is Rietveld 408576698