Changeset 210911 in webkit
- Timestamp:
- Jan 18, 2017 9:09:49 PM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r210910 r210911 1 2017-01-18 Devin Rousso <dcrousso+webkit@gmail.com> 2 3 Web Inspector: split console should be allowed for Network and Timeline tabs when Inspector is not docked 4 https://bugs.webkit.org/show_bug.cgi?id=167075 5 6 Reviewed by Timothy Hatcher. 7 8 * UserInterface/Base/Main.js: 9 (WebInspector.dockedConfigurationSupportsSplitContentBrowser): 10 Helper function to determine if the current docked state supports having the content view 11 and split console at the same time. Currently set to be true if not docked bottom. 12 13 * UserInterface/Views/ClusterContentView.js: 14 (WebInspector.ClusterContentView.prototype.get supportsSplitContentBrowser): 15 * UserInterface/Views/ContentView.js: 16 (WebInspector.ContentView.prototype.get supportsSplitContentBrowser): 17 * UserInterface/Views/NetworkTabContentView.js: 18 (WebInspector.NetworkTabContentView.prototype.get supportsSplitContentBrowser): 19 * UserInterface/Views/TimelineTabContentView.js: 20 (WebInspector.TimelineTabContentView.prototype.get supportsSplitContentBrowser): Deleted. 21 Update supportsSplitContentBrowser functions to only be true/false based on the return value 22 of WebInspector.dockedConfigurationSupportsSplitContentBrowser. 23 1 24 2017-01-18 Joseph Pecoraro <pecoraro@apple.com> 2 25 -
trunk/Source/WebInspectorUI/UserInterface/Base/Main.js
r210788 r210911 889 889 }; 890 890 891 WebInspector.dockedConfigurationSupportsSplitContentBrowser = function() 892 { 893 return this._dockConfiguration !== WebInspector.DockConfiguration.Bottom; 894 }; 895 891 896 WebInspector.doesCurrentTabSupportSplitContentBrowser = function() 892 897 { -
trunk/Source/WebInspectorUI/UserInterface/Views/ClusterContentView.js
r208091 r210911 58 58 if (this._contentViewContainer.currentContentView) 59 59 return this._contentViewContainer.currentContentView.supportsSplitContentBrowser; 60 return true; 60 61 return super.supportsSplitContentBrowser; 61 62 } 62 63 -
trunk/Source/WebInspectorUI/UserInterface/Views/ContentView.js
r209882 r210911 311 311 { 312 312 // Implemented by subclasses. 313 return true;313 return WebInspector.dockedConfigurationSupportsSplitContentBrowser(); 314 314 } 315 315 -
trunk/Source/WebInspectorUI/UserInterface/Views/NetworkTabContentView.js
r208091 r210911 62 62 get supportsSplitContentBrowser() 63 63 { 64 // Since the Network tab has a real sidebar, showing the split console would cause items in 65 // the sidebar to be aligned with an item in the datagrid that isn't shown. 64 66 return false; 65 67 } -
trunk/Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.js
r208091 r210911 310 310 } 311 311 312 get supportsSplitContentBrowser()313 {314 return false;315 }316 317 312 // Protected 318 313
Note: See TracChangeset
for help on using the changeset viewer.