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

Issue 2915883002: DevTools: prepare to unify Network and CPU throttling UI (Closed)

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

Description

DevTools: prepare to unify Network and CPU throttling UI Combines the network and & CPU throttling components into a single module since they will be surfaced as a single UI. This also extracts network priorities into its own module which had a dubious home in network_conditions to begin with. Also improves extract_module: - Includes comments on how to use extract_module - Use 'npm run extract' to run extract_module script BUG=728262 Review-Url: https://codereview.chromium.org/2915883002 Cr-Commit-Position: refs/heads/master@{#476156} Committed: https://chromium.googlesource.com/chromium/src/+/6f9400d2dce36b995fa0da47ca25c3c2bf0b18de

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix dep #

Patch Set 3 : don't make it autostart #

Patch Set 4 : a missing space! #

Patch Set 5 : gs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -840 lines) Patch
M third_party/WebKit/LayoutTests/inspector/initial-modules-load-expected.txt View 1 2 3 4 5 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Tests.js View 1 chunk +3 lines, -3 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/components/CPUThrottlingManager.js View 1 chunk +0 lines, -90 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/module.json View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeToolbar.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/module.json View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/inspector.json View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/CPUThrottlingManager.js View 3 chunks +3 lines, -3 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkConditionsSelector.js View 8 chunks +12 lines, -12 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkConditionsSettingsTab.js View 3 chunks +5 lines, -5 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/module.json View 1 4 chunks +4 lines, -4 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/mobile_throttling/networkConditionsSettingsTab.css View 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/FilterSuggestionBuilder.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkDataGridNode.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/module.json View 1 1 chunk +3 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/network_conditions/NetworkConditionsSelector.js View 1 chunk +0 lines, -248 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/network_conditions/NetworkConditionsSettingsTab.js View 1 chunk +0 lines, -201 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/network_conditions/NetworkPriorities.js View 1 chunk +0 lines, -71 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/network_conditions/module.json View 1 chunk +0 lines, -51 lines 0 comments Download
D third_party/WebKit/Source/devtools/front_end/network_conditions/networkConditionsSettingsTab.css View 1 chunk +0 lines, -94 lines 0 comments Download
A + third_party/WebKit/Source/devtools/front_end/network_priorities/NetworkPriorities.js View 1 5 chunks +12 lines, -12 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/network_priorities/module.json View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ServiceWorkersView.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/module.json View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChartNetworkDataProvider.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/module.json View 1 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/package.json View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/scripts/extract_module/extract_module.js View 1 2 3 3 chunks +46 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
chenwilliam
ptal https://codereview.chromium.org/2915883002/diff/1/third_party/WebKit/Source/devtools/front_end/network_conditions/module.json File third_party/WebKit/Source/devtools/front_end/network_conditions/module.json (left): https://codereview.chromium.org/2915883002/diff/1/third_party/WebKit/Source/devtools/front_end/network_conditions/module.json#oldcode4 third_party/WebKit/Source/devtools/front_end/network_conditions/module.json:4: "type": "setting", FYI, I had to manually move ...
3 years, 6 months ago (2017-05-31 19:20:52 UTC) #2
dgozman
https://codereview.chromium.org/2915883002/diff/1/third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js (right): https://codereview.chromium.org/2915883002/diff/1/third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js#newcode9 third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js:9: MobileThrottling.uiLabelForPriority = function(priority) { This one does not belong ...
3 years, 6 months ago (2017-05-31 20:05:32 UTC) #3
chenwilliam
ptal https://codereview.chromium.org/2915883002/diff/1/third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js File third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js (right): https://codereview.chromium.org/2915883002/diff/1/third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js#newcode9 third_party/WebKit/Source/devtools/front_end/mobile_throttling/NetworkPriorities.js:9: MobileThrottling.uiLabelForPriority = function(priority) { On 2017/05/31 20:05:32, dgozman ...
3 years, 6 months ago (2017-05-31 22:23:12 UTC) #6
dgozman
lgtm
3 years, 6 months ago (2017-05-31 22:34:41 UTC) #7
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/2915883002/60001
3 years, 6 months ago (2017-05-31 22:38:26 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/467225)
3 years, 6 months ago (2017-05-31 23:51:50 UTC) #12
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/2915883002/80001
3 years, 6 months ago (2017-06-01 00:00:12 UTC) #15
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 02:29:28 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/6f9400d2dce36b995fa0da47ca25...

Powered by Google App Engine
This is Rietveld 408576698