WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142407
Web Inspector: unify resizer implementations used by DataGrid and Sidebar
https://bugs.webkit.org/show_bug.cgi?id=142407
Summary
Web Inspector: unify resizer implementations used by DataGrid and Sidebar
Brian Burg
Reported
2015-03-06 11:51:04 PST
.
Attachments
Patch
(26.43 KB, patch)
2015-03-06 11:58 PST
,
Brian Burg
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-03-06 11:51:22 PST
<
rdar://problem/20073999
>
Brian Burg
Comment 2
2015-03-06 11:58:33 PST
Created
attachment 248084
[details]
Patch
Brian Burg
Comment 3
2015-03-06 12:01:03 PST
This patch doesn't move over the following resizer interactions: - Moving undocked inspector window by its fake titlebar - Resizing docked inspector (bottom and left dock) - Resizing the quick console/split content browser - Timeline selection range and center handles Only the first one should require significant additions to Resizer.js
Brian Burg
Comment 4
2015-03-06 12:06:36 PST
(In reply to
comment #3
)
> This patch doesn't move over the following resizer interactions: > > - Moving undocked inspector window by its fake titlebar > - Resizing docked inspector (bottom and left dock) > - Resizing the quick console/split content browser > - Timeline selection range and center handles > > Only the first one should require significant additions to Resizer.js
Oh, there's also a UI-less DragToAdjustController that does some drag related work for sliders in the gradient editor, and drag-to-adjust in the styles editor. The controller seems fine for adjusting numbers up/down, and probably overkill for manipulating dividers/sliders.
Timothy Hatcher
Comment 5
2015-03-06 15:33:46 PST
Comment on
attachment 248084
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=248084&action=review
Looks good!
> Source/WebInspectorUI/UserInterface/Views/DataGrid.js:115 > +WebInspector.DataGrid.LeftNeighboringColumnIDSymbol = Symbol("left-neighboring-column-id");
Nit: Identifier not ID
> Source/WebInspectorUI/UserInterface/Views/Resizer.js:48 > + Horizontal: "resizer-rule-orientation-horizontal", > + Vertical: "resizer-rule-orientation-vertical",
Symbol!
> Source/WebInspectorUI/UserInterface/Views/Sidebar.js:41 > + var resizerDelegate = this;
Not sure this line is needed. It is not super helpful, like it would be for booleans.
Brian Burg
Comment 6
2015-03-24 13:42:27 PDT
Committed
r181903
: <
http://trac.webkit.org/changeset/181903
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug