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

Unified Diff: Source/devtools/front_end/sdk/DOMModel.js

Issue 369853002: DevTools: Rename TargetAwareObject into SDKObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 6 years, 6 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
« no previous file with comments | « Source/devtools/front_end/sdk/ConsoleModel.js ('k') | Source/devtools/front_end/sdk/DOMStorage.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sdk/DOMModel.js
diff --git a/Source/devtools/front_end/sdk/DOMModel.js b/Source/devtools/front_end/sdk/DOMModel.js
index 96b2e00787b39e8e1acb3b36d058c7d12cac2a05..7242a3ee2453ddf59742a10498f407c62f6e9977 100644
--- a/Source/devtools/front_end/sdk/DOMModel.js
+++ b/Source/devtools/front_end/sdk/DOMModel.js
@@ -31,14 +31,14 @@
/**
* @constructor
- * @extends {WebInspector.TargetAware}
+ * @extends {WebInspector.SDKObject}
* @param {!WebInspector.DOMModel} domModel
* @param {?WebInspector.DOMDocument} doc
* @param {boolean} isInShadowTree
* @param {!DOMAgent.Node} payload
*/
WebInspector.DOMNode = function(domModel, doc, isInShadowTree, payload) {
- WebInspector.TargetAware.call(this, domModel.target());
+ WebInspector.SDKObject.call(this, domModel.target());
this._domModel = domModel;
this._agent = domModel._agent;
this.ownerDocument = doc;
@@ -861,7 +861,7 @@ WebInspector.DOMNode.prototype = {
this._agent.getBoxModel(this.id, this._domModel._wrapClientCallback(callback));
},
- __proto__: WebInspector.TargetAware.prototype
+ __proto__: WebInspector.SDKObject.prototype
}
/**
@@ -885,11 +885,11 @@ WebInspector.DOMDocument.prototype = {
/**
* @constructor
- * @extends {WebInspector.TargetAwareObject}
+ * @extends {WebInspector.SDKObject}
* @param {!WebInspector.Target} target
*/
WebInspector.DOMModel = function(target) {
- WebInspector.TargetAwareObject.call(this, target);
+ WebInspector.SDKObject.call(this, target);
this._agent = target.domAgent();
@@ -1628,7 +1628,7 @@ WebInspector.DOMModel.prototype = {
}
},
- __proto__: WebInspector.TargetAwareObject.prototype
+ __proto__: WebInspector.SDKObject.prototype
}
/**
@@ -1767,13 +1767,13 @@ WebInspector.DOMDispatcher.prototype = {
/**
* @constructor
- * @extends {WebInspector.TargetAware}
+ * @extends {WebInspector.SDKObject}
* @param {!WebInspector.Target} target
* @param {!DOMAgent.EventListener} payload
*/
WebInspector.DOMModel.EventListener = function(target, payload)
{
- WebInspector.TargetAware.call(this, target);
+ WebInspector.SDKObject.call(this, target);
this._payload = payload;
}
@@ -1810,7 +1810,7 @@ WebInspector.DOMModel.EventListener.prototype = {
return this._payload.handler ? this.target().runtimeModel.createRemoteObject(this._payload.handler) : null;
},
- __proto__: WebInspector.TargetAware.prototype
+ __proto__: WebInspector.SDKObject.prototype
}
/**
« no previous file with comments | « Source/devtools/front_end/sdk/ConsoleModel.js ('k') | Source/devtools/front_end/sdk/DOMStorage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698