Home | History | Annotate | Download | only in inspector

Lines Matching refs:ErrorString

297     ErrorString error;
327 ErrorString error;
400 Node* InspectorDOMAgent::assertNode(ErrorString* errorString, int nodeId)
404 *errorString = "Could not find node with given id";
410 Element* InspectorDOMAgent::assertElement(ErrorString* errorString, int nodeId)
412 Node* node = assertNode(errorString, nodeId);
417 *errorString = "Node is not an Element";
424 HTMLElement* InspectorDOMAgent::assertHTMLElement(ErrorString* errorString, int nodeId)
426 Element* element = assertElement(errorString, nodeId);
431 *errorString = "Node is not an HTML Element";
437 void InspectorDOMAgent::getDocument(ErrorString*, RefPtr<InspectorObject>* root)
484 void InspectorDOMAgent::getChildNodes(ErrorString*, int nodeId)
489 void InspectorDOMAgent::querySelector(ErrorString* errorString, int nodeId, const String& selectors, int* elementId)
492 Node* node = assertNode(errorString, nodeId);
499 *errorString = "DOM Error while querying";
507 void InspectorDOMAgent::querySelectorAll(ErrorString* errorString, int nodeId, const String& selectors, RefPtr<InspectorArray>* result)
509 Node* node = assertNode(errorString, nodeId);
516 *errorString = "DOM Error while querying";
575 void InspectorDOMAgent::setAttribute(ErrorString* errorString, int elementId, const String& name, const String& value)
577 Element* element = assertElement(errorString, elementId);
582 *errorString = "Exception while setting attribute value";
586 void InspectorDOMAgent::removeAttribute(ErrorString* errorString, int elementId, const String& name)
588 Element* element = assertElement(errorString, elementId);
593 *errorString = "Exception while removing attribute";
597 void InspectorDOMAgent::removeNode(ErrorString* errorString, int nodeId)
599 Node* node = assertNode(errorString, nodeId);
605 *errorString = "Can not remove detached node";
612 *errorString = "Could not remove node due to DOM exception";
615 void InspectorDOMAgent::setNodeName(ErrorString*, int nodeId, const String& tagName, int* newId)
652 void InspectorDOMAgent::getOuterHTML(ErrorString* errorString, int nodeId, WTF::String* outerHTML)
654 HTMLElement* element = assertHTMLElement(errorString, nodeId);
659 void InspectorDOMAgent::setOuterHTML(ErrorString* errorString, int nodeId, const String& outerHTML, int* newId)
661 HTMLElement* htmlElement = assertHTMLElement(errorString, nodeId);
696 void InspectorDOMAgent::setNodeValue(ErrorString* errorString, int nodeId, const String& value)
698 Node* node = assertNode(errorString, nodeId);
703 *errorString = "Can only set value of text nodes";
711 *errorString = "DOM Error while setting the node value";
714 void InspectorDOMAgent::getEventListenersForNode(ErrorString*, int nodeId, RefPtr<InspectorArray>* listenersArray)
781 void InspectorDOMAgent::performSearch(ErrorString* error, const String& whitespaceTrimmedQuery, const bool* const runSynchronously)
868 void InspectorDOMAgent::cancelSearch(ErrorString*)
932 ErrorString error;
943 ErrorString error;
948 void InspectorDOMAgent::setSearchingForNode(ErrorString*, bool enabled)
953 void InspectorDOMAgent::highlight(ErrorString*, Node* node)
960 void InspectorDOMAgent::highlightDOMNode(ErrorString* error, int nodeId)
966 void InspectorDOMAgent::highlightFrame(ErrorString* error, const String& frameId)
973 void InspectorDOMAgent::hideHighlight(ErrorString*)
979 void InspectorDOMAgent::resolveNode(ErrorString* error, int nodeId, RefPtr<InspectorObject>* result)
989 void InspectorDOMAgent::pushNodeToFrontend(ErrorString*, const String& objectId, int* nodeId)
1341 ErrorString error;
1368 void InspectorDOMAgent::copyNode(ErrorString*, int nodeId)
1377 void InspectorDOMAgent::pushNodeByPathToFrontend(ErrorString*, const String& path, int* nodeId)