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

Issue 2916743002: [DevTools] Introduce Common.List used as a backend for list controls (Closed)

Created:
3 years, 6 months ago by dgozman
Modified:
3 years, 6 months ago
Reviewers:
caseq, einbinder, pfeldman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Introduce Common.List used as a backend for list controls This will make it easier to have sorted lists and list-like select controls. BUG=none Review-Url: https://codereview.chromium.org/2916743002 Cr-Commit-Position: refs/heads/master@{#476479} Committed: https://chromium.googlesource.com/chromium/src/+/a974ad98e45321dee1ebee0a9891451ee4b1294f

Patch Set 1 #

Total comments: 6

Patch Set 2 : UI.ListModel #

Patch Set 3 : Tests.js #

Total comments: 13

Patch Set 4 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+451 lines, -225 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-equal-height.js View 1 8 chunks +27 lines, -13 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-equal-height-expected.txt View 1 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-non-viewport.js View 1 6 chunks +9 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-various-height.js View 1 6 chunks +9 lines, -8 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-model.js View 1 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-model-expected.txt View 1 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/console-test.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/console/console-context-selector.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-change-variable.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-on-call-frame-inside-iframe.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-while-paused.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js View 1 14 chunks +36 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js View 1 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js View 1 4 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/ThreadsSidebarPane.js View 1 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineHistoryManager.js View 1 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/ListControl.js View 1 2 3 21 chunks +63 lines, -135 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/ui/ListModel.js View 1 2 3 1 chunk +140 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SuggestBox.js View 1 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/module.json View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
dgozman
Could you please take a look?
3 years, 6 months ago (2017-05-31 22:38:16 UTC) #3
pfeldman
lgtm https://codereview.chromium.org/2916743002/diff/1/third_party/WebKit/Source/devtools/front_end/common/List.js File third_party/WebKit/Source/devtools/front_end/common/List.js (right): https://codereview.chromium.org/2916743002/diff/1/third_party/WebKit/Source/devtools/front_end/common/List.js#newcode8 third_party/WebKit/Source/devtools/front_end/common/List.js:8: Common.List = class extends Common.Object { UI.ListModel
3 years, 6 months ago (2017-05-31 23:00:02 UTC) #5
einbinder
https://codereview.chromium.org/2916743002/diff/1/third_party/WebKit/Source/devtools/front_end/common/List.js File third_party/WebKit/Source/devtools/front_end/common/List.js (right): https://codereview.chromium.org/2916743002/diff/1/third_party/WebKit/Source/devtools/front_end/common/List.js#newcode50 third_party/WebKit/Source/devtools/front_end/common/List.js:50: insertItemAtIndex(index, item) { I don't think this is good ...
3 years, 6 months ago (2017-05-31 23:23:08 UTC) #6
dgozman
https://codereview.chromium.org/2916743002/diff/1/third_party/WebKit/Source/devtools/front_end/common/List.js File third_party/WebKit/Source/devtools/front_end/common/List.js (right): https://codereview.chromium.org/2916743002/diff/1/third_party/WebKit/Source/devtools/front_end/common/List.js#newcode8 third_party/WebKit/Source/devtools/front_end/common/List.js:8: Common.List = class extends Common.Object { On 2017/05/31 23:00:02, ...
3 years, 6 months ago (2017-06-01 01:03:02 UTC) #9
caseq
lgtm https://codereview.chromium.org/2916743002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js File third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js (right): https://codereview.chromium.org/2916743002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js#newcode38 third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js:38: for (var i = 0; i < items.length(); ...
3 years, 6 months ago (2017-06-01 01:37:57 UTC) #12
dgozman
https://codereview.chromium.org/2916743002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js File third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js (right): https://codereview.chromium.org/2916743002/diff/40001/third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js#newcode38 third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js:38: for (var i = 0; i < items.length(); ++i) ...
3 years, 6 months ago (2017-06-01 20:31:49 UTC) #13
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/2916743002/60001
3 years, 6 months ago (2017-06-01 20:32:30 UTC) #16
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 23:19:09 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a974ad98e45321dee1ebee0a9891...

Powered by Google App Engine
This is Rietveld 408576698