Index: Source/devtools/front_end/NetworkItemView.js |
diff --git a/Source/devtools/front_end/NetworkItemView.js b/Source/devtools/front_end/NetworkItemView.js |
index 2b4f9b520e381cf3b28342becfcb3ef8af698994..7b63bfb0320271ec38787f31a0adb90ebd415c32 100644 |
--- a/Source/devtools/front_end/NetworkItemView.js |
+++ b/Source/devtools/front_end/NetworkItemView.js |
@@ -73,6 +73,17 @@ WebInspector.NetworkItemView.prototype = { |
}, |
/** |
+ * @return {?WebInspector.SourceFrame} |
+ */ |
+ currentSourceFrame: function() |
+ { |
+ var view = this.visibleView; |
+ if (view && view instanceof WebInspector.SourceFrame) |
+ return /** @type {!WebInspector.SourceFrame} */ (view); |
+ return null; |
+ }, |
+ |
+ /** |
* @param {string=} tabId |
*/ |
_selectTab: function(tabId) |
@@ -173,23 +184,5 @@ WebInspector.RequestContentView.prototype = { |
// Should be implemented by subclasses. |
}, |
- /** |
- * @override |
- * @return {boolean} |
- */ |
- canHighlightPosition: function() |
- { |
- return this._innerView && this._innerView.canHighlightPosition(); |
- }, |
- |
- /** |
- * @override |
- */ |
- highlightPosition: function(line, column) |
- { |
- if (this.canHighlightPosition()) |
- this._innerView.highlightPosition(line, column); |
- }, |
- |
__proto__: WebInspector.RequestView.prototype |
} |