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

Issue 2736853002: DevTools: Convert FilteredListWidget to use an optional provider (Closed)

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

Description

DevTools: Convert FilteredListWidget to use an optional provider Instead of a single required delegate, FilteredListWidget now uses a provider that can be changed. BUG=662081 Review-Url: https://codereview.chromium.org/2736853002 Cr-Commit-Position: refs/heads/master@{#455611} Committed: https://chromium.googlesource.com/chromium/src/+/3854543fdcea4ffd600b2a0fbef5ef59c4ba1388

Patch Set 1 #

Total comments: 4

Patch Set 2 : attach and detach #

Total comments: 2

Patch Set 3 : missing timeout #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -283 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js View 4 chunks +4 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers.js View 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-list-widget-providers-expected.txt View 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/filtered-item-selection-dialog-rendering.html View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js View 4 chunks +5 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js View 1 2 15 chunks +73 lines, -31 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListDelegate.js View 1 chunk +0 lines, -221 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListProvider.js View 1 4 chunks +13 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/JavaScriptOutlineDialog.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js View 4 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/StyleSheetOutlineDialog.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/module.json View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (10 generated)
einbinder
ptal
3 years, 9 months ago (2017-03-07 01:57:32 UTC) #2
pfeldman
https://codereview.chromium.org/2736853002/diff/1/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js File third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js (right): https://codereview.chromium.org/2736853002/diff/1/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode119 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:119: setProvider(provider) { Annotate provider please. https://codereview.chromium.org/2736853002/diff/1/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode484 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:484: this._refreshCallback = ...
3 years, 9 months ago (2017-03-07 02:17:26 UTC) #3
einbinder
https://codereview.chromium.org/2736853002/diff/1/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js File third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js (right): https://codereview.chromium.org/2736853002/diff/1/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode119 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:119: setProvider(provider) { On 2017/03/07 at 02:17:26, pfeldman wrote: > ...
3 years, 9 months ago (2017-03-07 04:27:27 UTC) #4
pfeldman
lgtm % nits https://codereview.chromium.org/2736853002/diff/20001/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js File third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js (right): https://codereview.chromium.org/2736853002/diff/20001/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode198 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:198: this._loadTimeout = setTimeout(this._updateAfterItemsLoaded.bind(this), 0); You are ...
3 years, 9 months ago (2017-03-07 21:55:05 UTC) #9
einbinder
https://codereview.chromium.org/2736853002/diff/20001/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js File third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js (right): https://codereview.chromium.org/2736853002/diff/20001/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode198 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:198: this._loadTimeout = setTimeout(this._updateAfterItemsLoaded.bind(this), 0); On 2017/03/07 at 21:55:04, pfeldman ...
3 years, 9 months ago (2017-03-07 22:18:34 UTC) #10
pfeldman
lgtm
3 years, 9 months ago (2017-03-08 02:02:06 UTC) #11
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/2736853002/40001
3 years, 9 months ago (2017-03-08 02:07:27 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/404455)
3 years, 9 months ago (2017-03-08 03:26:18 UTC) #15
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/2736853002/40001
3 years, 9 months ago (2017-03-08 23:13:55 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 00:31:02 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3854543fdcea4ffd600b2a0fbef5...

Powered by Google App Engine
This is Rietveld 408576698