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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.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/source_frame/SourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
index aedc8812e0df0388861207e62bc0f0dcec7db040..b3b29bce1d166be1a896f6145ea635ca13221aa4 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/SourceFrame.js
@@ -30,7 +30,7 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @implements {WebInspector.Searchable}
* @implements {WebInspector.Replaceable}
* @param {string} url
@@ -38,7 +38,7 @@
*/
WebInspector.SourceFrame = function(url, lazyContent)
{
- WebInspector.View.call(this, WebInspector.UIString("Source"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("Source"));
this._url = url;
this._lazyContent = lazyContent;
@@ -106,7 +106,7 @@ WebInspector.SourceFrame.prototype = {
* @override
* @return {!Array<!WebInspector.ToolbarItem>}
*/
- toolbarItems: function()
+ syncToolbarItems: function()
{
return [this._sourcePosition];
},
@@ -638,7 +638,7 @@ WebInspector.SourceFrame.prototype = {
e.consume(true);
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698