Home | History | Annotate | Download | only in front_end

Lines Matching refs:domAgent

34  * @param {WebInspector.DOMAgent} domAgent
37 * @param {DOMAgent.Node} payload
39 WebInspector.DOMNode = function(domAgent, doc, isInShadowTree, payload) {
40 this._domAgent = domAgent;
45 domAgent._idToDOMNode[this.id] = this;
88 this._contentDocument = new WebInspector.DOMDocument(domAgent, payload.contentDocument);
214 DOMAgent.setNodeName(this.id, name, WebInspector.domAgent._markRevision(this, callback));
239 DOMAgent.setNodeValue(this.id, value, WebInspector.domAgent._markRevision(this, callback));
259 DOMAgent.setAttributesAsText(this.id, text, name, WebInspector.domAgent._markRevision(this, callback));
269 DOMAgent.setAttributeValue(this.id, name, value, WebInspector.domAgent._markRevision(this, callback));
301 WebInspector.domAgent._markRevision(this, callback)(error);
303 DOMAgent.removeAttribute(this.id, name, mycallback.bind(this));
327 DOMAgent.requestChildNodes(this.id, undefined, mycallback.bind(this));
346 DOMAgent.requestChildNodes(this.id, depth, mycallback.bind(this));
354 DOMAgent.getOuterHTML(this.id, callback);
363 DOMAgent.setOuterHTML(this.id, html, WebInspector.domAgent._markRevision(this, callback));
371 DOMAgent.removeNode(this.id, WebInspector.domAgent._markRevision(this, callback));
381 DOMAgent.getOuterHTML(this.id, copy);
398 DOMAgent.getEventListenersForNode(this.id, objectGroupId, callback);
497 * @param {DOMAgent.Node} payload
520 * @param {Array.<DOMAgent.Node>} payloads
603 DOMAgent.moveTo(this.id, targetNode.id, anchorNode ? anchorNode.id : undefined, WebInspector.domAgent
811 * @param {WebInspector.DOMAgent} domAgent
812 * @param {DOMAgent.Node} payload
814 WebInspector.DOMDocument = function(domAgent, payload)
816 WebInspector.DOMNode.call(this, domAgent, this, false, payload);
832 WebInspector.DOMAgent = function() {
840 WebInspector.DOMAgent.Events = {
853 WebInspector.DOMAgent.prototype = {
873 * @this {WebInspector.DOMAgent}
875 * @param {DOMAgent.Node} root
890 DOMAgent.getDocument(onDocumentAvailable.bind(this));
903 * @param {function(?DOMAgent.NodeId)=} callback
907 this._dispatchWhenDocumentAvailable(DOMAgent.requestNode.bind(DOMAgent, objectId), callback);
916 this._dispatchWhenDocumentAvailable(DOMAgent.pushNodeByPathToFrontend.bind(DOMAgent, path), callback);
925 this._dispatchWhenDocumentAvailable(DOMAgent.pushNodeByBackendIdToFrontend.bind(DOMAgent, backendNodeId), callback);
970 * @param {DOMAgent.NodeId} nodeId
981 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.AttrModified, { node: node, name: name });
985 * @param {DOMAgent.NodeId} nodeId
994 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.AttrRemoved, { node: node, name: name });
998 * @param {Array.<DOMAgent.NodeId>} nodeIds
1012 * @this {WebInspector.DOMAgent}
1013 * @param {DOMAgent.NodeId} nodeId
1026 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.AttrModified, { node: node, name: "style" });
1034 DOMAgent.getAttributes(nodeIdAsNumber, callback.bind(this, nodeIdAsNumber));
1040 * @param {DOMAgent.NodeId} nodeId
1047 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.CharacterDataModified, node);
1051 * @param {DOMAgent.NodeId} nodeId
1065 * @param {DOMAgent.Node} payload
1074 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.DocumentUpdated, this._document);
1078 * @param {DOMAgent.Node} payload
1089 * @param {DOMAgent.NodeId} parentId
1090 * @param {Array.<DOMAgent.Node>} payloads
1104 * @param {DOMAgent.NodeId} nodeId
1111 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.ChildNodeCountUpdated, node);
1115 * @param {DOMAgent.NodeId} parentId
1116 * @param {DOMAgent.NodeId} prevId
1117 * @param {DOMAgent.Node} payload
1125 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.NodeInserted, node);
1129 * @param {DOMAgent.NodeId} parentId
1130 * @param {DOMAgent.NodeId} nodeId
1138 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.NodeRemoved, {node: node, parent: parent});
1142 * @param {DOMAgent.NodeId} hostId
1143 * @param {DOMAgent.Node} root
1154 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.NodeInserted, node);
1158 * @param {DOMAgent.NodeId} hostId
1159 * @param {DOMAgent.NodeId} rootId
1171 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.NodeRemoved, {node: root, parent: host});
1195 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.InspectNodeRequested, nodeId);
1199 * @param {DOMAgent.NodeId} nodeId
1203 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.InspectNodeRequested, nodeId);
1224 DOMAgent.performSearch(query, callback.bind(this));
1229 * @param {?function(DOMAgent.Node)} callback
1250 DOMAgent.getSearchResults(this._searchId, index, index + 1, mycallback.bind(this));
1258 DOMAgent.discardSearchResults(this._searchId);
1264 * @param {DOMAgent.NodeId} nodeId
1266 * @param {function(?DOMAgent.NodeId)=} callback
1270 DOMAgent.querySelector(nodeId, selectors, this._wrapClientCallback(callback));
1274 * @param {DOMAgent.NodeId} nodeId
1276 * @param {function(?Array.<DOMAgent.NodeId>)=} callback
1280 DOMAgent.querySelectorAll(nodeId, selectors, this._wrapClientCallback(callback));
1284 * @param {DOMAgent.NodeId=} nodeId
1296 DOMAgent.highlightNode(this._buildHighlightConfig(mode), objectId ? undefined : nodeId, objectId);
1298 DOMAgent.hideHighlight();
1307 * @param {DOMAgent.NodeId} nodeId
1322 this._dispatchWhenDocumentAvailable(DOMAgent.setInspectModeEnabled.bind(DOMAgent, enabled, inspectShadowDOM, this._buildHighlightConfig()), callback);
1407 DOMAgent.markUndoableState();
1417 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.UndoRedoCompleted);
1421 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.UndoRedoRequested);
1422 DOMAgent.undo(callback);
1432 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.UndoRedoCompleted);
1436 this.dispatchEventToListeners(WebInspector.DOMAgent.Events.UndoRedoRequested);
1437 DOMAgent.redo(callback);
1445 * @implements {DOMAgent.Dispatcher}
1446 * @param {WebInspector.DOMAgent} domAgent
1448 WebInspector.DOMDispatcher = function(domAgent)
1450 this._domAgent = domAgent;
1460 * @param {DOMAgent.NodeId} nodeId
1468 * @param {DOMAgent.NodeId} nodeId
1478 * @param {DOMAgent.NodeId} nodeId
1487 * @param {Array.<DOMAgent.NodeId>} nodeIds
1495 * @param {DOMAgent.NodeId} nodeId
1504 * @param {DOMAgent.NodeId} parentId
1505 * @param {Array.<DOMAgent.Node>} payloads
1513 * @param {DOMAgent.NodeId} nodeId
1522 * @param {DOMAgent.NodeId} parentNodeId
1523 * @param {DOMAgent.NodeId} previousNodeId
1524 * @param {DOMAgent.Node} payload
1532 * @param {DOMAgent.NodeId} parentNodeId
1533 * @param {DOMAgent.NodeId} nodeId
1541 * @param {DOMAgent.NodeId} hostId
1542 * @param {DOMAgent.Node} root
1550 * @param {DOMAgent.NodeId} hostId
1551 * @param {DOMAgent.NodeId} rootId
1560 * @type {?WebInspector.DOMAgent}
1562 WebInspector.domAgent = null;