Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js

Issue 2157713002: DevTools: introduce View: a named widget with the toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
index dff743a5bb1deaeb1f1c35299fef3ad6c9cfd0cc..df601b168f46982a598018d30d7d557dc01b6f45 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotView.js
@@ -32,13 +32,13 @@
* @constructor
* @implements {WebInspector.ProfileType.DataDisplayDelegate}
* @implements {WebInspector.Searchable}
- * @extends {WebInspector.VBoxWithToolbarItems}
+ * @extends {WebInspector.View}
* @param {!WebInspector.ProfileType.DataDisplayDelegate} dataDisplayDelegate
* @param {!WebInspector.HeapProfileHeader} profile
*/
WebInspector.HeapSnapshotView = function(dataDisplayDelegate, profile)
{
- WebInspector.VBoxWithToolbarItems.call(this);
+ WebInspector.View.call(this, WebInspector.UIString("Heap Snapshot"));
this.element.classList.add("heap-snapshot-view");
@@ -1011,7 +1011,7 @@ WebInspector.HeapSnapshotView.prototype = {
this._trackingOverviewGrid.dispose();
},
- __proto__: WebInspector.VBoxWithToolbarItems.prototype
+ __proto__: WebInspector.View.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698