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

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

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 years, 4 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/ProfileView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
index 267a90f88939be99a6d72d6401c2731aeec03058..fbec243a2eb0878b61d4291c5b484af60bfe78a2 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js
@@ -5,13 +5,13 @@
/**
* @constructor
* @implements {WebInspector.Searchable}
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {!WebInspector.ProfileDataGridNode.Formatter} nodeFormatter
* @param {!Array<string>=} viewTypes
*/
WebInspector.ProfileView = function(nodeFormatter, viewTypes)
{
- WebInspector.View.call(this, WebInspector.UIString("Profile"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("Profile"));
this._searchableView = new WebInspector.SearchableView(this);
this._searchableView.setPlaceholder(WebInspector.UIString("Find by cost (>50ms), name or file"));
@@ -113,7 +113,7 @@ WebInspector.ProfileView.prototype = {
* @override
* @return {!Array.<!WebInspector.ToolbarItem>}
*/
- toolbarItems: function()
+ syncToolbarItems: function()
{
return [this.viewSelectComboBox, this.focusButton, this.excludeButton, this.resetButton];
},
@@ -367,7 +367,7 @@ WebInspector.ProfileView.prototype = {
this.refresh();
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698