| Index: third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| index d36d8c10897c9cae966cd180361266fe84fe0c8b..099b0a06c1f0981569e5d0a164e0a3a1ef5da2fc 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/Target.js
|
| @@ -18,6 +18,7 @@ WebInspector.Target = function(targetManager, name, capabilitiesMask, connection
|
| Protocol.Agents.call(this, connection.agentsMap());
|
| this._targetManager = targetManager;
|
| this._name = name;
|
| + this._inspectedURL = "";
|
| this._capabilitiesMask = capabilitiesMask;
|
| this._connection = connection;
|
| this._parentTarget = parentTarget;
|
| @@ -189,6 +190,24 @@ WebInspector.Target.prototype = {
|
| return this._modelByConstructor.valuesArray();
|
| },
|
|
|
| + /**
|
| + * @return {string}
|
| + */
|
| + inspectedURL: function()
|
| + {
|
| + return this._inspectedURL;
|
| + },
|
| +
|
| + /**
|
| + * @param {string} inspectedURL
|
| + */
|
| + setInspectedURL: function(inspectedURL)
|
| + {
|
| + this._inspectedURL = inspectedURL;
|
| + InspectorFrontendHost.inspectedURLChanged(inspectedURL || "");
|
| + this._targetManager.dispatchEventToListeners(WebInspector.TargetManager.Events.InspectedURLChanged, this);
|
| + },
|
| +
|
| __proto__: Protocol.Agents.prototype
|
| }
|
|
|
|
|