Changeset 149807 in webkit
- Timestamp:
- May 9, 2013 8:16:58 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r149805 r149807 1 2013-05-09 Seokju Kwon <seokju.kwon@gmail.com> 2 3 Web Inspector: Remove Memory Distribution and Memory Snapshots Panels 4 https://bugs.webkit.org/show_bug.cgi?id=115850 5 6 Reviewed by Andreas Kling. 7 8 Removed the Memory Instrumentation Code after r148921. 9 10 No new tests, no behavior change. 11 12 * inspector/compile-front-end.py: 13 * inspector/front-end/NativeMemorySnapshotView.js: Removed. 14 * inspector/front-end/ProfilesPanel.js: 15 (WebInspector.ProfilesPanel): 16 * inspector/front-end/Settings.js: 17 (WebInspector.Settings): 18 (WebInspector.ExperimentsSettings): 19 * inspector/front-end/SettingsScreen.js: 20 * inspector/front-end/WebKit.qrc: 21 * inspector/front-end/inspector.css: 22 * inspector/front-end/inspector.js: 23 (WebInspector._panelDescriptors): 24 * inspector/front-end/nativeMemoryProfiler.css: Removed. 25 1 26 2013-05-09 Zan Dobersek <zdobersek@igalia.com> 2 27 -
trunk/Source/WebCore/inspector/compile-front-end.py
r147105 r149807 352 352 "JSHeapSnapshot.js", 353 353 "NativeHeapSnapshot.js", 354 "NativeMemorySnapshotView.js",355 354 "ProfileDataGridTree.js", 356 355 "ProfilesPanel.js", -
trunk/Source/WebCore/inspector/front-end/ProfilesPanel.js
r146752 r149807 409 409 if (Capabilities.heapProfilerPresent) 410 410 this._registerProfileType(new WebInspector.HeapSnapshotProfileType()); 411 if (!WebInspector.WorkerManager.isWorkerFrontend() && WebInspector.experimentsSettings.nativeMemorySnapshots.isEnabled()) {412 this._registerProfileType(new WebInspector.NativeSnapshotProfileType());413 this._registerProfileType(new WebInspector.NativeMemoryProfileType());414 }415 411 if (!WebInspector.WorkerManager.isWorkerFrontend() && WebInspector.experimentsSettings.canvasInspection.isEnabled()) 416 412 this._registerProfileType(new WebInspector.CanvasProfileType()); … … 1420 1416 1421 1417 1422 /**1423 * @constructor1424 * @extends {WebInspector.ProfilesPanel}1425 */1426 WebInspector.MemoryChartProfilerPanel = function()1427 {1428 WebInspector.ProfilesPanel.call(this, "memory-chart-profiler", new WebInspector.NativeMemoryProfileType());1429 }1430 1431 WebInspector.MemoryChartProfilerPanel.prototype = {1432 __proto__: WebInspector.ProfilesPanel.prototype1433 }1434 1435 1436 /**1437 * @constructor1438 * @extends {WebInspector.ProfilesPanel}1439 */1440 WebInspector.NativeMemoryProfilerPanel = function()1441 {1442 WebInspector.ProfilesPanel.call(this, "memory-snapshot-profiler", new WebInspector.NativeSnapshotProfileType());1443 }1444 1445 WebInspector.NativeMemoryProfilerPanel.prototype = {1446 __proto__: WebInspector.ProfilesPanel.prototype1447 }1448 1449 1450 1418 importScript("ProfileDataGridTree.js"); 1451 1419 importScript("BottomUpProfileDataGridTree.js"); … … 1462 1430 importScript("JSHeapSnapshot.js"); 1463 1431 importScript("NativeHeapSnapshot.js"); 1464 importScript("NativeMemorySnapshotView.js");1465 1432 importScript("ProfileLauncherView.js"); 1466 1433 importScript("TopDownProfileDataGridTree.js"); -
trunk/Source/WebCore/inspector/front-end/Settings.js
r149792 r149807 113 113 this.deviceOrientationOverride = this.createSetting("deviceOrientationOverride", ""); 114 114 this.showHeapSnapshotObjectsHiddenProperties = this.createSetting("showHeapSnapshotObjectsHiddenProperties", false); 115 this.showNativeSnapshotUninstrumentedSize = this.createSetting("showNativeSnapshotUninstrumentedSize", false);116 115 this.searchInContentScripts = this.createSetting("searchInContentScripts", false); 117 116 this.textEditorIndent = this.createSetting("textEditorIndent", " "); … … 218 217 // Add currently running experiments here. 219 218 this.snippetsSupport = this._createExperiment("snippetsSupport", "Snippets support"); 220 this.nativeMemorySnapshots = this._createExperiment("nativeMemorySnapshots", "Native memory profiling");221 219 this.nativeMemoryTimeline = this._createExperiment("nativeMemoryTimeline", "Native memory timeline"); 222 220 this.fileSystemInspection = this._createExperiment("fileSystemInspection", "FileSystem inspection"); -
trunk/Source/WebCore/inspector/front-end/SettingsScreen.js
r146045 r149807 359 359 p = this._appendSection(WebInspector.UIString("Profiler")); 360 360 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show objects' hidden properties"), WebInspector.settings.showHeapSnapshotObjectsHiddenProperties)); 361 if (WebInspector.experimentsSettings.nativeMemorySnapshots.isEnabled())362 p.appendChild(this._createCheckboxSetting(WebInspector.UIString("Show uninstrumented native memory"), WebInspector.settings.showNativeSnapshotUninstrumentedSize));363 361 364 362 p = this._appendSection(WebInspector.UIString("Timeline")); -
trunk/Source/WebCore/inspector/front-end/WebKit.qrc
r147105 r149807 123 123 <file>NativeHeapSnapshot.js</file> 124 124 <file>NativeMemoryGraph.js</file> 125 <file>NativeMemorySnapshotView.js</file>126 125 <file>NavigatorOverlayController.js</file> 127 126 <file>NavigatorView.js</file> … … 259 258 <file>inspectorCommon.css</file> 260 259 <file>inspectorSyntaxHighlight.css</file> 261 <file>nativeMemoryProfiler.css</file>262 260 <file>navigatorView.css</file> 263 261 <file>networkLogView.css</file> -
trunk/Source/WebCore/inspector/front-end/inspector.css
r148668 r149807 547 547 } 548 548 549 .toolbar-item.memory-chart-profiler .toolbar-icon {550 background-position-x: -160px;551 }552 553 body.dock-to-bottom .toolbar-item.memory-chart-profiler .toolbar-icon {554 background-position-x: -120px;555 }556 557 .toolbar-item.memory-snapshot-profiler .toolbar-icon {558 background-position-x: -160px;559 }560 561 body.dock-to-bottom .toolbar-item.memory-snapshot-profiler .toolbar-icon {562 background-position-x: -120px;563 }564 565 549 .toolbar-item.audits .toolbar-icon { 566 550 background-position-x: -192px; -
trunk/Source/WebCore/inspector/front-end/inspector.js
r147535 r149807 57 57 if (!WebInspector.WorkerManager.isWorkerFrontend() && WebInspector.experimentsSettings.canvasInspection.isEnabled()) 58 58 allProfilers.push(new WebInspector.PanelDescriptor("canvas-profiler", WebInspector.UIString("Canvas Profiler"), "CanvasProfilerPanel", "ProfilesPanel.js")); 59 if (!WebInspector.WorkerManager.isWorkerFrontend() && WebInspector.experimentsSettings.nativeMemorySnapshots.isEnabled()) {60 allProfilers.push(new WebInspector.PanelDescriptor("memory-chart-profiler", WebInspector.UIString("Memory Distribution"), "MemoryChartProfilerPanel", "ProfilesPanel.js"));61 allProfilers.push(new WebInspector.PanelDescriptor("memory-snapshot-profiler", WebInspector.UIString("Memory Snapshots"), "NativeMemoryProfilerPanel", "ProfilesPanel.js"));62 }63 59 Array.prototype.splice.bind(allDescriptors, allDescriptors.indexOf(profiles), 1).apply(null, allProfilers); 64 60 }
Note: See TracChangeset
for help on using the changeset viewer.