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

Unified Diff: Source/devtools/front_end/RemoteObject.js

Issue 206313004: DevTools: Rename WebInspector.DOMAgent into WebInspector.DOMModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 9 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/PlatformFontsSidebarPane.js ('k') | Source/devtools/front_end/ScreencastView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/RemoteObject.js
diff --git a/Source/devtools/front_end/RemoteObject.js b/Source/devtools/front_end/RemoteObject.js
index 5278caf274e6165ae71d9bcad5427908008ac395..71ea9eb53da19864e12cc36c155c31ff2c927b48 100644
--- a/Source/devtools/front_end/RemoteObject.js
+++ b/Source/devtools/front_end/RemoteObject.js
@@ -233,9 +233,10 @@ WebInspector.RemoteObject.toCallArgument = function(remoteObject)
WebInspector.RemoteObjectImpl = function(target, objectId, type, subtype, value, description, preview)
{
WebInspector.RemoteObject.call(this);
+
this._target = target;
this._runtimeAgent = target.runtimeAgent();
- this._domAgent = target.domModel;
+ this._domModel = target.domModel;
this._type = type;
this._subtype = subtype;
@@ -450,19 +451,19 @@ WebInspector.RemoteObjectImpl.prototype = {
pushNodeToFrontend: function(callback)
{
if (this._objectId)
- this._domAgent.pushNodeToFrontend(this._objectId, callback);
+ this._domModel.pushNodeToFrontend(this._objectId, callback);
else
callback(0);
},
highlightAsDOMNode: function()
{
- this._domAgent.highlightDOMNode(undefined, undefined, this._objectId);
+ this._domModel.highlightDOMNode(undefined, undefined, this._objectId);
},
hideDOMNodeHighlight: function()
{
- this._domAgent.hideDOMNodeHighlight();
+ this._domModel.hideDOMNodeHighlight();
},
/**
« no previous file with comments | « Source/devtools/front_end/PlatformFontsSidebarPane.js ('k') | Source/devtools/front_end/ScreencastView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698