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

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed)

Created:
6 years, 7 months ago by apavlov
Modified:
6 years, 7 months ago
Reviewers:
eustas, pfeldman, yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

DevTools: Get rid of WebInspector.panels R=eustas, pfeldman, yurys BUG=351662 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173643

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 6

Patch Set 3 : Address profiler comments #

Patch Set 4 : Formatting fixes #

Patch Set 5 : Use ProfilesPanel indirectly, as a DataDisplayDelegate (requested by pfeldman) #

Total comments: 2

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -131 lines) Patch
M Source/devtools/front_end/Main.js View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/common/ModuleManager.js View 1 6 chunks +68 lines, -68 lines 0 comments Download
M Source/devtools/front_end/extensions/ExtensionServer.js View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/externs.js View 1 chunk +0 lines, -1 line 0 comments Download
M Source/devtools/front_end/profiler/CPUProfileView.js View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M Source/devtools/front_end/profiler/CanvasProfileView.js View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M Source/devtools/front_end/profiler/HeapSnapshotDataGrids.js View 1 2 3 4 14 chunks +43 lines, -24 lines 0 comments Download
M Source/devtools/front_end/profiler/HeapSnapshotView.js View 1 2 3 4 5 7 chunks +16 lines, -13 lines 0 comments Download
M Source/devtools/front_end/profiler/ProfilesPanel.js View 1 2 3 4 5 12 chunks +59 lines, -13 lines 0 comments Download
M Source/devtools/front_end/sources/SourcesPanel.js View 1 1 chunk +19 lines, -0 lines 0 comments Download
M Source/devtools/front_end/sources/SourcesView.js View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/sources/module.json View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/devtools/front_end/ui/Context.js View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/ui/InspectorView.js View 1 5 chunks +19 lines, -2 lines 0 comments Download
M Source/devtools/front_end/ui/Panel.js View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
apavlov
6 years, 7 months ago (2014-05-06 14:39:10 UTC) #1
pfeldman
I don't think this brings us into a better place. Lets work on plumbing these ...
6 years, 7 months ago (2014-05-06 19:56:59 UTC) #2
pfeldman
https://codereview.chromium.org/268293003/diff/1/LayoutTests/http/tests/inspector/appcache/appcache-test.js File LayoutTests/http/tests/inspector/appcache/appcache-test.js (right): https://codereview.chromium.org/268293003/diff/1/LayoutTests/http/tests/inspector/appcache/appcache-test.js#newcode84 LayoutTests/http/tests/inspector/appcache/appcache-test.js:84: var applicationCacheTreeElement = WebInspector.inspectorView.panel("resources").applicationCacheListTreeElement; I don't see how this ...
6 years, 7 months ago (2014-05-06 19:57:13 UTC) #3
vsevik
What is the purpose of this change? This will significantly regress devtools debugging experience (e.g. ...
6 years, 7 months ago (2014-05-07 08:22:04 UTC) #4
apavlov
On 2014/05/07 08:22:04, vsevik wrote: > What is the purpose of this change? Pavel asked ...
6 years, 7 months ago (2014-05-07 10:18:13 UTC) #5
apavlov
https://codereview.chromium.org/268293003/diff/1/LayoutTests/http/tests/inspector/appcache/appcache-test.js File LayoutTests/http/tests/inspector/appcache/appcache-test.js (right): https://codereview.chromium.org/268293003/diff/1/LayoutTests/http/tests/inspector/appcache/appcache-test.js#newcode84 LayoutTests/http/tests/inspector/appcache/appcache-test.js:84: var applicationCacheTreeElement = WebInspector.inspectorView.panel("resources").applicationCacheListTreeElement; On 2014/05/06 19:57:14, pfeldman wrote: ...
6 years, 7 months ago (2014-05-07 10:26:13 UTC) #6
yurys
https://codereview.chromium.org/268293003/diff/20001/Source/devtools/front_end/profiler/HeapSnapshotView.js File Source/devtools/front_end/profiler/HeapSnapshotView.js (right): https://codereview.chromium.org/268293003/diff/20001/Source/devtools/front_end/profiler/HeapSnapshotView.js#newcode1229 Source/devtools/front_end/profiler/HeapSnapshotView.js:1229: WebInspector.Revealer.reveal(profile); We could implement this as an event on ...
6 years, 7 months ago (2014-05-07 14:43:41 UTC) #7
apavlov
https://codereview.chromium.org/268293003/diff/20001/Source/devtools/front_end/profiler/HeapSnapshotView.js File Source/devtools/front_end/profiler/HeapSnapshotView.js (right): https://codereview.chromium.org/268293003/diff/20001/Source/devtools/front_end/profiler/HeapSnapshotView.js#newcode1229 Source/devtools/front_end/profiler/HeapSnapshotView.js:1229: WebInspector.Revealer.reveal(profile); On 2014/05/07 14:43:41, yurys wrote: > We could ...
6 years, 7 months ago (2014-05-07 15:54:23 UTC) #8
pfeldman
lgtm. Please show this to yurys@ prior to landing.
6 years, 7 months ago (2014-05-07 16:04:51 UTC) #9
yurys
lgtm https://codereview.chromium.org/268293003/diff/90001/Source/devtools/front_end/sources/SourcesView.js File Source/devtools/front_end/sources/SourcesView.js (right): https://codereview.chromium.org/268293003/diff/90001/Source/devtools/front_end/sources/SourcesView.js#newcode80 Source/devtools/front_end/sources/SourcesView.js:80: WebInspector.Revealer.reveal(unsavedSourceCodes[i]); Looks like you don't need Revealer here, ...
6 years, 7 months ago (2014-05-08 08:08:42 UTC) #10
apavlov
https://codereview.chromium.org/268293003/diff/90001/Source/devtools/front_end/sources/SourcesView.js File Source/devtools/front_end/sources/SourcesView.js (right): https://codereview.chromium.org/268293003/diff/90001/Source/devtools/front_end/sources/SourcesView.js#newcode80 Source/devtools/front_end/sources/SourcesView.js:80: WebInspector.Revealer.reveal(unsavedSourceCodes[i]); On 2014/05/08 08:08:43, yurys wrote: > Looks like ...
6 years, 7 months ago (2014-05-08 11:00:50 UTC) #11
apavlov
The CQ bit was checked by apavlov@chromium.org
6 years, 7 months ago (2014-05-08 11:05:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apavlov@chromium.org/268293003/90001
6 years, 7 months ago (2014-05-08 11:06:27 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 11:06:41 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/devtools/front_end/profiler/CPUProfileView.js: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-08 11:06:41 UTC) #15
apavlov
The CQ bit was checked by apavlov@chromium.org
6 years, 7 months ago (2014-05-08 11:34:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/apavlov@chromium.org/268293003/110001
6 years, 7 months ago (2014-05-08 11:35:11 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 12:46:56 UTC) #18
Message was sent while issue was closed.
Change committed as 173643

Powered by Google App Engine
This is Rietveld 408576698