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

Side by Side Diff: Source/devtools/front_end/sdk/DOMModel.js

Issue 257873002: DevTools: do not use internals for highlight testing, use protocol instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 else 851 else
852 callback(this.target().runtimeModel.createRemoteObject(object)); 852 callback(this.target().runtimeModel.createRemoteObject(object));
853 } 853 }
854 }, 854 },
855 855
856 /** 856 /**
857 * @param {function(?DOMAgent.BoxModel)} callback 857 * @param {function(?DOMAgent.BoxModel)} callback
858 */ 858 */
859 boxModel: function(callback) 859 boxModel: function(callback)
860 { 860 {
861 this._agent.getBoxModel(this._domModel._wrapClientCallback(callback)); 861 this._agent.getBoxModel(this.id, this._domModel._wrapClientCallback(call back));
862 }, 862 },
863 863
864 __proto__: WebInspector.TargetAware.prototype 864 __proto__: WebInspector.TargetAware.prototype
865 } 865 }
866 866
867 /** 867 /**
868 * @extends {WebInspector.DOMNode} 868 * @extends {WebInspector.DOMNode}
869 * @constructor 869 * @constructor
870 * @param {!WebInspector.DOMModel} domModel 870 * @param {!WebInspector.DOMModel} domModel
871 * @param {!DOMAgent.Node} payload 871 * @param {!DOMAgent.Node} payload
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
1841 setInspectModeEnabled: function(enabled, inspectUAShadowDOM, config, callbac k) 1841 setInspectModeEnabled: function(enabled, inspectUAShadowDOM, config, callbac k)
1842 { 1842 {
1843 this._agent.setInspectModeEnabled(enabled, inspectUAShadowDOM, config, c allback); 1843 this._agent.setInspectModeEnabled(enabled, inspectUAShadowDOM, config, c allback);
1844 } 1844 }
1845 } 1845 }
1846 1846
1847 /** 1847 /**
1848 * @type {!WebInspector.DOMModel} 1848 * @type {!WebInspector.DOMModel}
1849 */ 1849 */
1850 WebInspector.domModel; 1850 WebInspector.domModel;
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698