Lines Matching defs:domModel
35 * @param {!WebInspector.DOMModel} domModel
40 WebInspector.DOMNode = function(domModel, doc, isInShadowTree, payload) {
41 WebInspector.SDKObject.call(this, domModel.target());
42 this._domModel = domModel;
43 this._agent = domModel._agent;
48 domModel._idToDOMNode[this.id] = this;
101 this._contentDocument = new WebInspector.DOMDocument(domModel, payload.contentDocument);
140 * @return {!WebInspector.DOMModel}
142 domModel: function()
476 * @param {function(?Array.<!WebInspector.DOMModel.EventListener>)} callback
493 return new WebInspector.DOMModel.EventListener(target, payload);
894 this._target.domModel.pushNodesByBackendIdsToFrontend([this._backendNodeId], onGotNode.bind(this));
906 callback(this._target.domModel.nodeForId(nodeIds[0]));
914 * @param {!WebInspector.DOMModel} domModel
917 WebInspector.DOMDocument = function(domModel, payload)
919 WebInspector.DOMNode.call(this, domModel, this, false, payload);
935 WebInspector.DOMModel = function(target) {
936 WebInspector.SDKModel.call(this, WebInspector.DOMModel, target);
957 WebInspector.DOMModel.Events = {
970 WebInspector.DOMModel.prototype = {
998 * @this {WebInspector.DOMModel}
1034 * @this {!WebInspector.DOMModel}
1093 * @this {WebInspector.DOMModel}
1119 this.dispatchEventToListeners(WebInspector.DOMModel.Events.AttrModified, { node: node, name: name });
1132 this.dispatchEventToListeners(WebInspector.DOMModel.Events.AttrRemoved, { node: node, name: name });
1150 * @this {WebInspector.DOMModel}
1164 this.dispatchEventToListeners(WebInspector.DOMModel.Events.AttrModified, { node: node, name: "style" });
1185 this.dispatchEventToListeners(WebInspector.DOMModel.Events.CharacterDataModified, node);
1212 this.dispatchEventToListeners(WebInspector.DOMModel.Events.DocumentUpdated, this._document);
1249 this.dispatchEventToListeners(WebInspector.DOMModel.Events.ChildNodeCountUpdated, node);
1263 this.dispatchEventToListeners(WebInspector.DOMModel.Events.NodeInserted, node);
1276 this.dispatchEventToListeners(WebInspector.DOMModel.Events.NodeRemoved, {node: node, parent: parent});
1292 this.dispatchEventToListeners(WebInspector.DOMModel.Events.NodeInserted, node);
1309 this.dispatchEventToListeners(WebInspector.DOMModel.Events.NodeRemoved, {node: root, parent: host});
1326 this.dispatchEventToListeners(WebInspector.DOMModel.Events.NodeInserted, node);
1343 this.dispatchEventToListeners(WebInspector.DOMModel.Events.NodeRemoved, {node: pseudoElement, parent: parent});
1368 this.dispatchEventToListeners(WebInspector.DOMModel.Events.NodeInspected, this.nodeForId(nodeId));
1384 * @this {WebInspector.DOMModel}
1405 * @this {WebInspector.DOMModel}
1415 * @this {WebInspector.DOMModel}
1440 * @this {WebInspector.DOMModel}
1534 * @this {WebInspector.DOMModel}
1581 * @this {WebInspector.DOMModel}
1623 * @this {WebInspector.DOMModel}
1648 * @this {WebInspector.DOMModel}
1652 this.dispatchEventToListeners(WebInspector.DOMModel.Events.UndoRedoCompleted);
1656 this.dispatchEventToListeners(WebInspector.DOMModel.Events.UndoRedoRequested);
1667 * @this {WebInspector.DOMModel}
1671 this.dispatchEventToListeners(WebInspector.DOMModel.Events.UndoRedoCompleted);
1675 this.dispatchEventToListeners(WebInspector.DOMModel.Events.UndoRedoRequested);
1699 * @this {WebInspector.DOMModel}
1717 * @param {!WebInspector.DOMModel} domModel
1719 WebInspector.DOMDispatcher = function(domModel)
1721 this._domModel = domModel;
1854 WebInspector.DOMModel.EventListener = function(target, payload)
1866 WebInspector.DOMModel.EventListener.prototype = {
1880 return this.target().domModel.nodeForId(this._payload.nodeId);