RESOLVED FIXED 152274
Web Inspector: Convert Sidebar classes to use View
https://bugs.webkit.org/show_bug.cgi?id=152274
Summary Web Inspector: Convert Sidebar classes to use View
Matt Baker
Reported 2015-12-14 14:30:23 PST
* SUMMARY Convert Sidebar classes to use View. SidebarPanel should create a 'contentView' subview with a public getter, for appending DetailsSections. This will complete some work originally slated for https://bugs.webkit.org/show_bug.cgi?id=150982.
Attachments
[Patch] Proposed Fix (32.99 KB, patch)
2015-12-14 22:21 PST, Matt Baker
no flags
[Patch] Proposed Fix (33.07 KB, patch)
2015-12-15 13:44 PST, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2015-12-14 14:31:02 PST
Matt Baker
Comment 2 2015-12-14 22:21:19 PST
Created attachment 267349 [details] [Patch] Proposed Fix
Blaze Burg
Comment 3 2015-12-15 09:15:20 PST
Comment on attachment 267349 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=267349&action=review r=me A little surprised we don't need to call needsLayout anywhere. I suppose the panels just add and remove sections, so the sections should become dirty, not the panel. > Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.js:61 > var shownSection = this._probeSetSections.get(probeSet); Nit: let > Source/WebInspectorUI/UserInterface/Views/StyleDetailsPanel.js:-49 > - { Comment for ChangeLog: "defer to View.element getter." It says no longer needed, but the getter is still used (just implemented elsewhere).
Matt Baker
Comment 4 2015-12-15 13:44:09 PST
Created attachment 267391 [details] [Patch] Proposed Fix
WebKit Commit Bot
Comment 5 2015-12-15 14:34:21 PST
Comment on attachment 267391 [details] [Patch] Proposed Fix Clearing flags on attachment: 267391 Committed r194116: <http://trac.webkit.org/changeset/194116>
WebKit Commit Bot
Comment 6 2015-12-15 14:34:25 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.