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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed 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/sdk/TargetManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
index e5f085158a0912cf10518dc39cf11a8937f1b431..12ef551ba078e5a0db59af65b1dfb1e3e96ee489 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js
@@ -78,6 +78,14 @@ WebInspector.TargetManager.prototype = {
},
/**
+ * @return {string}
+ */
+ inspectedURL: function()
+ {
+ return this._targets[0] ? this._targets[0].inspectedURL() : "";
+ },
+
+ /**
* @param {!WebInspector.Event} event
*/
_redispatchEvent: function(event)

Powered by Google App Engine
This is Rietveld 408576698