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

Issue 2870163002: DevTools: add new mode for styles sidebar that hides computed split view (Closed)

Created:
3 years, 7 months ago by luoe
Modified:
3 years, 7 months ago
Reviewers:
dgozman, lushnikov
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: add new mode for styles sidebar that hides computed split view Currently, the default behavior when resizing ElementsPanel will switch from vertical to horizontal mode when it's width is < 680px. At super small widths, this makes the `Styles` and `Computed` views both tall and cramped for space. This CL adds another rule when the width is < 415px, giving the `Computed` view its own separate tab. A screenshot of DevTools at this width is in the crbug. BUG=619064 Review-Url: https://codereview.chromium.org/2870163002 Cr-Commit-Position: refs/heads/master@{#472267} Committed: https://chromium.googlesource.com/chromium/src/+/eba1e6e57e86f481a3b5a40713a744ce3d9f2d66

Patch Set 1 : a #

Total comments: 4

Patch Set 2 : ac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -24 lines) Patch
M third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js View 1 7 chunks +29 lines, -24 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
luoe
I've manually tested this with the 'Panel layout' setting turned on and with dock to ...
3 years, 7 months ago (2017-05-09 20:18:49 UTC) #4
lushnikov
https://codereview.chromium.org/2870163002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/2870163002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js#newcode841 third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js:841: if (UI.inspectorView.element.offsetWidth < 415) you have to do this ...
3 years, 7 months ago (2017-05-10 21:30:53 UTC) #6
luoe
Ptal https://codereview.chromium.org/2870163002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/2870163002/diff/20001/third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js#newcode841 third_party/WebKit/Source/devtools/front_end/elements/ElementsPanel.js:841: if (UI.inspectorView.element.offsetWidth < 415) On 2017/05/10 21:30:52, lushnikov ...
3 years, 7 months ago (2017-05-10 23:40:53 UTC) #7
lushnikov
lgtm
3 years, 7 months ago (2017-05-16 18:25:19 UTC) #8
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/2870163002/40001
3 years, 7 months ago (2017-05-16 18:26:21 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 00:38:13 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eba1e6e57e86f481a3b5a40713a7...

Powered by Google App Engine
This is Rietveld 408576698