| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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; |
| OLD | NEW |