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

Issue 197823010: [DevTools] Add minimum size to WebInspector.View. (Closed)

Created:
6 years, 9 months ago by dgozman
Modified:
6 years, 9 months ago
Reviewers:
vsevik, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+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, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@splitdip2
Visibility:
Public.

Description

[DevTools] Add minimum size to WebInspector.View. Now each View knows about it's minimum size and containers use it to layout. Therefore split view constraints have moved from split view to the child views. Root view now clips the content when available window size is less than minimum size of content. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169963

Patch Set 1 #

Total comments: 11

Patch Set 2 : fixed comments #

Patch Set 3 : #

Patch Set 4 : Added test #

Patch Set 5 : rebaselined #

Patch Set 6 : reduced notification count #

Patch Set 7 : #

Patch Set 8 : bug fixes #

Patch Set 9 : width/height -> right/bottom #

Total comments: 4

Patch Set 10 : rebased #

Patch Set 11 : rebase #

Total comments: 6

Patch Set 12 : fixed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+450 lines, -120 lines) Patch
A LayoutTests/inspector/minimum-size.html View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
A LayoutTests/inspector/minimum-size-expected.txt View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download
M Source/devtools/front_end/AuditLauncherView.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/AuditResultView.js View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/AuditsPanel.js View 1 chunk +0 lines, -1 line 0 comments Download
M Source/devtools/front_end/CanvasProfileView.js View 1 2 3 4 5 6 7 8 1 chunk +10 lines, -3 lines 0 comments Download
M Source/devtools/front_end/DOMExtension.js View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M Source/devtools/front_end/ElementsPanel.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M Source/devtools/front_end/HeapSnapshotView.js View 1 2 3 4 5 6 7 8 9 5 chunks +7 lines, -4 lines 0 comments Download
M Source/devtools/front_end/InspectedPagePlaceholder.js View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/InspectorView.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +35 lines, -3 lines 0 comments Download
M Source/devtools/front_end/Main.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -3 lines 0 comments Download
M Source/devtools/front_end/Panel.js View 1 3 chunks +8 lines, -14 lines 0 comments Download
M Source/devtools/front_end/ScreencastView.js View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -8 lines 0 comments Download
M Source/devtools/front_end/Settings.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M Source/devtools/front_end/SidebarPane.js View 1 2 chunks +2 lines, -0 lines 0 comments Download
M Source/devtools/front_end/SourcesEditor.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/SourcesPanel.js View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +2 lines, -7 lines 0 comments Download
M Source/devtools/front_end/SplitView.js View 1 2 3 4 5 6 7 8 9 10 chunks +51 lines, -61 lines 0 comments Download
M Source/devtools/front_end/TabbedPane.js View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -1 line 0 comments Download
M Source/devtools/front_end/TimelinePanel.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/View.js View 1 2 3 4 5 6 7 8 9 8 chunks +116 lines, -0 lines 0 comments Download
M Source/devtools/front_end/heapProfiler.css View 1 chunk +5 lines, -1 line 0 comments Download
M Source/devtools/front_end/inspector.css View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M Source/devtools/front_end/inspectorCommon.css View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -5 lines 0 comments Download
M Source/devtools/front_end/splitView.css View 1 2 3 4 5 6 7 1 chunk +7 lines, -5 lines 0 comments Download
M Source/devtools/front_end/timelinePanel.css View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
dgozman
Could you please take a look?
6 years, 9 months ago (2014-03-13 17:54:40 UTC) #1
pfeldman
https://codereview.chromium.org/197823010/diff/1/Source/devtools/front_end/AuditLauncherView.js File Source/devtools/front_end/AuditLauncherView.js (right): https://codereview.chromium.org/197823010/diff/1/Source/devtools/front_end/AuditLauncherView.js#newcode39 Source/devtools/front_end/AuditLauncherView.js:39: this.setMinimumSize(new Size(100, 50)); You could have created Size inside ...
6 years, 9 months ago (2014-03-14 06:23:10 UTC) #2
dgozman
PTAL https://codereview.chromium.org/197823010/diff/1/Source/devtools/front_end/AuditLauncherView.js File Source/devtools/front_end/AuditLauncherView.js (right): https://codereview.chromium.org/197823010/diff/1/Source/devtools/front_end/AuditLauncherView.js#newcode39 Source/devtools/front_end/AuditLauncherView.js:39: this.setMinimumSize(new Size(100, 50)); On 2014/03/14 06:23:10, pfeldman wrote: ...
6 years, 9 months ago (2014-03-14 15:55:15 UTC) #3
vsevik
I did not look carefully yet, but here is some comments so far. https://chromiumcodereview.appspot.com/197823010/diff/140001/Source/devtools/front_end/SourcesPanel.js File ...
6 years, 9 months ago (2014-03-19 16:59:48 UTC) #4
dgozman
https://chromiumcodereview.appspot.com/197823010/diff/140001/Source/devtools/front_end/SourcesPanel.js File Source/devtools/front_end/SourcesPanel.js (right): https://chromiumcodereview.appspot.com/197823010/diff/140001/Source/devtools/front_end/SourcesPanel.js#newcode212 Source/devtools/front_end/SourcesPanel.js:212: WebInspector.SourcesPanel.minToolbarWidth = 185; On 2014/03/19 16:59:49, vsevik wrote: > ...
6 years, 9 months ago (2014-03-19 19:43:48 UTC) #5
vsevik
On 2014/03/19 19:43:48, dgozman wrote: > https://chromiumcodereview.appspot.com/197823010/diff/140001/Source/devtools/front_end/SourcesPanel.js > File Source/devtools/front_end/SourcesPanel.js (right): > > https://chromiumcodereview.appspot.com/197823010/diff/140001/Source/devtools/front_end/SourcesPanel.js#newcode212 > ...
6 years, 9 months ago (2014-03-20 16:21:45 UTC) #6
vsevik
https://chromiumcodereview.appspot.com/197823010/diff/180001/Source/devtools/front_end/InspectorView.js File Source/devtools/front_end/InspectorView.js (right): https://chromiumcodereview.appspot.com/197823010/diff/180001/Source/devtools/front_end/InspectorView.js#newcode453 Source/devtools/front_end/InspectorView.js:453: body.style.width = "100%"; Let's move this to css.
6 years, 9 months ago (2014-03-25 12:30:51 UTC) #7
vsevik
lgtm https://chromiumcodereview.appspot.com/197823010/diff/180001/Source/devtools/front_end/InspectorView.js File Source/devtools/front_end/InspectorView.js (right): https://chromiumcodereview.appspot.com/197823010/diff/180001/Source/devtools/front_end/InspectorView.js#newcode474 Source/devtools/front_end/InspectorView.js:474: this.element.style.bottom = bottom + "px"; Let's set scroll ...
6 years, 9 months ago (2014-03-25 13:26:04 UTC) #8
dgozman
Thank you for review! https://chromiumcodereview.appspot.com/197823010/diff/180001/Source/devtools/front_end/InspectorView.js File Source/devtools/front_end/InspectorView.js (right): https://chromiumcodereview.appspot.com/197823010/diff/180001/Source/devtools/front_end/InspectorView.js#newcode453 Source/devtools/front_end/InspectorView.js:453: body.style.width = "100%"; On 2014/03/25 ...
6 years, 9 months ago (2014-03-25 14:13:57 UTC) #9
dgozman
The CQ bit was checked by dgozman@chromium.org
6 years, 9 months ago (2014-03-25 14:14:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgozman@chromium.org/197823010/220001
6 years, 9 months ago (2014-03-25 14:14:08 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 15:23:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-25 15:23:22 UTC) #13
dgozman
The CQ bit was checked by dgozman@chromium.org
6 years, 9 months ago (2014-03-25 16:15:58 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgozman@chromium.org/197823010/220001
6 years, 9 months ago (2014-03-25 16:16:03 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 17:16:39 UTC) #16
Message was sent while issue was closed.
Change committed as 169963

Powered by Google App Engine
This is Rietveld 408576698