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

Issue 2679483002: DevTools: Create extensible QuickOpen control (Closed)

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

Description

DevTools: Create extensible QuickOpen control GoToLineDialog and QuickOpen are spun off from OpenResourceDialog. QuickOpen switches between GoToLineDialog and OpenResourceDialog depending on whether the query starts with ':'. QuickOpen loads delegates through the runtime system. BUG=662081 Review-Url: https://codereview.chromium.org/2679483002 Cr-Commit-Position: refs/heads/master@{#460536} Committed: https://chromium.googlesource.com/chromium/src/+/64eeaf6fafdb64505f589a8f1391460362ea09af

Patch Set 1 #

Total comments: 39

Patch Set 2 : format #

Patch Set 3 : format #

Patch Set 4 : rename #

Total comments: 4

Patch Set 5 : delegates again #

Total comments: 17

Patch Set 6 : doc #

Patch Set 7 : it is much smaller now #

Total comments: 2

Patch Set 8 : format #

Total comments: 2

Patch Set 9 : monospace and sort #

Patch Set 10 : merge #

Patch Set 11 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -276 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering.js View 1 2 3 4 5 3 chunks +6 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector-unit/filtered-item-selection-dialog-filtering-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js View 1 2 3 4 5 6 7 8 9 10 14 chunks +43 lines, -34 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js View 1 2 3 4 5 6 7 8 1 chunk +87 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/quick_open/module.json View 2 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/FilteredUISourceCodeListProvider.js View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/sources/GoToLineQuickOpen.js View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/sources/OpenFileQuickOpen.js View 1 2 3 4 5 6 3 chunks +6 lines, -40 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js View 1 2 3 4 5 1 chunk +0 lines, -131 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js View 1 2 3 4 3 chunks +19 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/module.json View 1 2 3 4 5 6 5 chunks +15 lines, -19 lines 0 comments Download

Messages

Total messages: 28 (12 generated)
einbinder
3 years, 10 months ago (2017-02-06 23:03:05 UTC) #3
pfeldman
https://codereview.chromium.org/2679483002/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/2679483002/diff/1/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode440 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:440: QuickOpen.FilteredListWidget.Delegate = class { This is too brave. Should ...
3 years, 10 months ago (2017-02-07 02:10:03 UTC) #5
pfeldman
ping
3 years, 10 months ago (2017-02-23 01:14:21 UTC) #6
einbinder
https://codereview.chromium.org/2679483002/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/2679483002/diff/1/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode440 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:440: QuickOpen.FilteredListWidget.Delegate = class { On 2017/02/07 at 02:10:02, pfeldman ...
3 years, 9 months ago (2017-02-28 23:59:08 UTC) #7
pfeldman
Let's chat about it! https://codereview.chromium.org/2679483002/diff/60001/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html File third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html (right): https://codereview.chromium.org/2679483002/diff/60001/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html#newcode45 third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html:45: InspectorTest.addSnifferPromise(QuickOpen.QuickOpen.prototype, '_providerLoadedForTest').then(provider => { It ...
3 years, 9 months ago (2017-03-02 22:42:27 UTC) #8
einbinder
QuickOpen is no longer a FilteredListWidget.Delegate https://codereview.chromium.org/2679483002/diff/60001/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/2679483002/diff/60001/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode233 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:233: this._delegate.queryChanged(query); On 2017/03/02 ...
3 years, 9 months ago (2017-03-03 23:07:14 UTC) #9
pfeldman
https://codereview.chromium.org/2679483002/diff/80001/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/2679483002/diff/80001/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode49 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:49: this._delegate = null; Could you extract swappable delegate-related change ...
3 years, 9 months ago (2017-03-06 18:37:18 UTC) #10
einbinder
https://codereview.chromium.org/2679483002/diff/80001/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/2679483002/diff/80001/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js#newcode49 third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:49: this._delegate = null; On 2017/03/06 at 18:37:18, pfeldman wrote: ...
3 years, 9 months ago (2017-03-08 22:39:57 UTC) #11
pfeldman
lgtm % nit https://codereview.chromium.org/2679483002/diff/140001/third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js File third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js (right): https://codereview.chromium.org/2679483002/diff/140001/third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js#newcode34 third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js:34: this._prefixes.splice(this._prefixes.lowerBound(prefix, (a, b) => b.length - ...
3 years, 9 months ago (2017-03-22 01:29:51 UTC) #12
einbinder
https://codereview.chromium.org/2679483002/diff/140001/third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js File third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js (right): https://codereview.chromium.org/2679483002/diff/140001/third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js#newcode34 third_party/WebKit/Source/devtools/front_end/quick_open/QuickOpen.js:34: this._prefixes.splice(this._prefixes.lowerBound(prefix, (a, b) => b.length - a.length), 0, prefix); ...
3 years, 9 months ago (2017-03-23 06:28:12 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/2679483002/170001
3 years, 8 months ago (2017-03-29 02:46:16 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-03-29 04:47:27 UTC) #18
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/2679483002/170001
3 years, 8 months ago (2017-03-29 18:12:20 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/397778)
3 years, 8 months ago (2017-03-29 18:24:30 UTC) #22
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/2679483002/190001
3 years, 8 months ago (2017-03-29 19:17:28 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 21:05:38 UTC) #28
Message was sent while issue was closed.
Committed patchset #11 (id:190001) as
https://chromium.googlesource.com/chromium/src/+/64eeaf6fafdb64505f589a8f1391...

Powered by Google App Engine
This is Rietveld 408576698