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

Issue 2617293002: DevTools: TabbedLocations only materialize tabs when needed (Closed)

Created:
3 years, 11 months ago by luoe
Modified:
3 years, 11 months ago
Reviewers:
einbinder, dgozman
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/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: TabbedLocations only materialize tabs when needed TabbedLocations used to materialize tab contents on tabSelected. Now, they materialize only if the tab is selected while the TabbedPane is showing, or when the TabbedPane is being shown. BUG=none Review-Url: https://codereview.chromium.org/2617293002 Cr-Commit-Position: refs/heads/master@{#442824} Committed: https://chromium.googlesource.com/chromium/src/+/7a9e12f9d21ca00eb2d15262f317a183213ae164

Patch Set 1 #

Total comments: 6

Patch Set 2 : rework for TabbedLocations #

Total comments: 2

Patch Set 3 : DevTools: materialize container widgets only when they are shown #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -12 lines) Patch
M third_party/WebKit/Source/devtools/front_end/ui/View.js View 1 2 4 chunks +9 lines, -12 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
luoe
Please take a look
3 years, 11 months ago (2017-01-07 02:05:22 UTC) #3
einbinder
https://codereview.chromium.org/2617293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js File third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js (right): https://codereview.chromium.org/2617293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js#newcode46 third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js:46: this._drawerBuilt = false; What is this used for? https://codereview.chromium.org/2617293002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/InspectorView.js#newcode176 ...
3 years, 11 months ago (2017-01-07 11:51:59 UTC) #4
pfeldman
This could be fixed for all the locations - don't materialize default tab until tabbed ...
3 years, 11 months ago (2017-01-09 22:01:34 UTC) #5
luoe
Thanks for the feedback, it's been reworked in the latest patch. I've introduced a new ...
3 years, 11 months ago (2017-01-10 19:35:34 UTC) #8
einbinder
lgtm
3 years, 11 months ago (2017-01-10 21:27:20 UTC) #9
dgozman
https://codereview.chromium.org/2617293002/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/View.js File third_party/WebKit/Source/devtools/front_end/ui/View.js (right): https://codereview.chromium.org/2617293002/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/View.js#newcode756 third_party/WebKit/Source/devtools/front_end/ui/View.js:756: _tabsShown(event) { We can instead materialize when our wrapper ...
3 years, 11 months ago (2017-01-10 21:51:45 UTC) #10
luoe
Done. https://codereview.chromium.org/2617293002/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/View.js File third_party/WebKit/Source/devtools/front_end/ui/View.js (right): https://codereview.chromium.org/2617293002/diff/20001/third_party/WebKit/Source/devtools/front_end/ui/View.js#newcode756 third_party/WebKit/Source/devtools/front_end/ui/View.js:756: _tabsShown(event) { Brilliant idea
3 years, 11 months ago (2017-01-10 23:15:18 UTC) #11
dgozman
lgtm
3 years, 11 months ago (2017-01-11 00:05:59 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/2617293002/40001
3 years, 11 months ago (2017-01-11 02:33:38 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/361520)
3 years, 11 months ago (2017-01-11 04:45:35 UTC) #17
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/2617293002/40001
3 years, 11 months ago (2017-01-11 04:48:04 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 06:21:25 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7a9e12f9d21ca00eb2d15262f317...

Powered by Google App Engine
This is Rietveld 408576698