Web Inspector: Experimental setting for CPU Usage Timeline improvements
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2019 00:00:25 +0000 (00:00 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Feb 2019 00:00:25 +0000 (00:00 +0000)
commit90aeb8dcf9fe01f5970a5d780ce7954ca68eae5a
treea574ead164075bece0cb3c0e9cc826938080061c
parentf1faf09f2af60786acb463c2d39c38d400796b90
Web Inspector: Experimental setting for CPU Usage Timeline improvements
https://bugs.webkit.org/show_bug.cgi?id=194556

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2019-02-12
Reviewed by Matt Baker.

* UserInterface/Main.html:
* UserInterface/Views/LegacyCPUTimelineView.css: Added.
* UserInterface/Views/LegacyCPUTimelineView.js: Added.
Copy of CPUTimelineView.js/css to be used when the setting is not set.

* UserInterface/Views/ContentView.js:
(WI.ContentView.createFromRepresentedObject):
ContentView to create based on the setting.

* UserInterface/Base/Setting.js:
* UserInterface/Views/SettingsTabContentView.js:
(WI.SettingsTabContentView.prototype._createExperimentalSettingsView):
Experimental switch.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Base/Setting.js
Source/WebInspectorUI/UserInterface/Main.html
Source/WebInspectorUI/UserInterface/Views/ContentView.js
Source/WebInspectorUI/UserInterface/Views/LegacyCPUTimelineView.css [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Views/LegacyCPUTimelineView.js [new file with mode: 0644]
Source/WebInspectorUI/UserInterface/Views/SettingsTabContentView.js