HomeSort by relevance Sort by last modified time
    Searched defs:exceptionState (Results 26 - 50 of 50) sorted by null

12

  /external/chromium_org/third_party/WebKit/Source/web/
WebNode.cpp 34 #include "bindings/v8/ExceptionState.h"
210 TrackExceptionState exceptionState;
213 element = toContainerNode(m_private.get())->querySelector(tag, exceptionState);
214 ec = exceptionState.code();
230 TrackExceptionState exceptionState;
231 m_private->remove(exceptionState);
232 return !exceptionState.hadException();
WebLocalFrameImpl.cpp 76 #include "bindings/v8/ExceptionState.h"
222 TrackExceptionState exceptionState;
223 range->selectNodeContents(document->body(), exceptionState);
225 if (!exceptionState.hadException()) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFace.cpp 35 #include "bindings/v8/ExceptionState.h"
106 static bool initFontFace(FontFace* fontFace, ExecutionContext* context, const AtomicString& family, const Dictionary& descriptors, ExceptionState& exceptionState)
108 fontFace->setFamily(context, family, exceptionState);
109 if (exceptionState.hadException())
114 fontFace->setStyle(context, value, exceptionState);
115 if (exceptionState.hadException())
119 fontFace->setWeight(context, value, exceptionState);
120 if (exceptionState.hadException())
124 fontFace->setStretch(context, value, exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
VisiblePosition.cpp 30 #include "bindings/v8/ExceptionState.h"
746 TrackExceptionState exceptionState;
747 r->setStart(p.containerNode(), p.offsetInContainerNode(), exceptionState);
748 return !exceptionState.hadException();
756 TrackExceptionState exceptionState;
757 r->setEnd(p.containerNode(), p.offsetInContainerNode(), exceptionState);
758 return !exceptionState.hadException();
VisibleSelection.cpp 29 #include "bindings/v8/ExceptionState.h"
281 TrackExceptionState exceptionState;
284 searchRange->selectNodeContents(boundary, exceptionState);
285 searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), exceptionState);
287 ASSERT(!exceptionState.hadException());
288 if (exceptionState.hadException())
EditorCommand.cpp 31 #include "bindings/v8/ExceptionState.h"
205 TrackExceptionState exceptionState;
206 fragment->appendChild(content, exceptionState);
207 if (exceptionState.hadException())
    [all...]
FrameSelection.cpp 30 #include "bindings/v8/ExceptionState.h"
362 TrackExceptionState exceptionState;
363 Range::CompareResults compareResult = range->compareNode(&node, exceptionState);
364 if (!exceptionState.hadException() && (compareResult == Range::NODE_BEFORE_AND_AFTER || compareResult == Range::NODE_INSIDE)) {
    [all...]
VisibleUnits.cpp 29 #include "bindings/v8/ExceptionState.h"
465 TrackExceptionState exceptionState;
468 forwardsScanRange->setEndAfter(boundary, exceptionState);
469 forwardsScanRange->setStart(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState);
483 searchRange->setStart(start.deprecatedNode(), start.deprecatedEditingOffset(), exceptionState);
484 searchRange->setEnd(end.deprecatedNode(), end.deprecatedEditingOffset(), exceptionState);
486 ASSERT(!exceptionState.hadException());
487 if (exceptionState.hadException())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
RangeInputType.cpp 107 void RangeInputType::setValueAsDouble(double newValue, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState) const
109 setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState);
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
V8Binding.cpp 100 void throwArityTypeError(ExceptionState& exceptionState, const char* valid, unsigned provided)
102 exceptionState.throwTypeError(ExceptionMessages::invalidArity(valid, provided));
103 exceptionState.throwIfNeeded();
116 void throwMinimumArityTypeError(ExceptionState& exceptionState, unsigned expected, unsigned providedLeastNumMandatoryParams)
118 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(expected, providedLeastNumMandatoryParams));
119 exceptionState.throwIfNeeded();
166 static double enforceRange(double x, double minimum, double maximum, const char* typeName, ExceptionState& exceptionState)
    [all...]
SerializedScriptValue.cpp 41 #include "bindings/v8/ExceptionState.h"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ContainerNode.cpp 26 #include "bindings/v8/ExceptionState.h"
66 static void collectChildrenAndRemoveFromOldParent(Node& node, NodeVector& nodes, ExceptionState& exceptionState)
71 oldParent->removeChild(&node, exceptionState);
124 bool ContainerNode::checkAcceptChild(const Node* newChild, const Node* oldChild, ExceptionState& exceptionState) const
128 exceptionState.throwDOMException(NotFoundError, "The new child element is null.");
136 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent.");
145 exceptionState.throwDOMException(HierarchyRequestError, "The new child element is a pseudo-element.");
150 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent.")
    [all...]
Range.cpp 28 #include "bindings/v8/ExceptionState.h"
157 void Range::setStart(PassRefPtrWillBeRawPtr<Node> refNode, int offset, ExceptionState& exceptionState)
160 exceptionState.throwDOMException(NotFoundError, "The node provided was null.");
170 Node* childNode = checkNodeWOffset(refNode.get(), offset, exceptionState);
171 if (exceptionState.hadException())
180 void Range::setEnd(PassRefPtrWillBeRawPtr<Node> refNode, int offset, ExceptionState& exceptionState)
183 exceptionState.throwDOMException(NotFoundError, "The node provided was null.");
193 Node* childNode = checkNodeWOffset(refNode.get(), offset, exceptionState);
    [all...]
Document.cpp 34 #include "bindings/v8/ExceptionState.h"
741 PassRefPtrWillBeRawPtr<Element> Document::createElement(const AtomicString& name, ExceptionState& exceptionState)
744 exceptionState.throwDOMException(InvalidCharacterError, "The tag name provided ('" + name + "') is not a valid name.");
754 PassRefPtrWillBeRawPtr<Element> Document::createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionState& exceptionState)
757 exceptionState.throwDOMException(InvalidCharacterError, "The tag name provided ('" + localName + "') is not a valid name.");
766 element = createElement(localName, exceptionState);
767 if (exceptionState.hadException())
777 static inline QualifiedName createQualifiedName(const AtomicString& namespaceURI, const AtomicString& qualifiedName, ExceptionState& exceptionState
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGSVGElement.cpp 269 TrackExceptionState exceptionState;
270 length->setValueAsString(value, exceptionState);
271 if (!exceptionState.hadException()) {
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLSelectElement.cpp 32 #include "bindings/v8/ExceptionState.h"
202 void HTMLSelectElement::add(HTMLElement* element, HTMLElement* before, ExceptionState& exceptionState)
210 insertBefore(element, before, exceptionState);
214 void HTMLSelectElement::addBeforeOptionAtIndex(HTMLElement* element, int beforeIndex, ExceptionState& exceptionState)
217 add(element, beforeElement, exceptionState);
448 void HTMLSelectElement::setOption(unsigned index, HTMLOptionElement* option, ExceptionState& exceptionState)
456 setLength(index, exceptionState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/xml/
XMLHttpRequest.cpp 26 #include "bindings/v8/ExceptionState.h"
218 ScriptString XMLHttpRequest::responseText(ExceptionState& exceptionState)
221 exceptionState.throwDOMException(InvalidStateError, "The value is only accessible if the object's 'responseType' is '' or 'text' (was '" + responseType() + "').");
238 Document* XMLHttpRequest::responseXML(ExceptionState& exceptionState)
241 exceptionState.throwDOMException(InvalidStateError, "The value is only accessible if the object's 'responseType' is '' or 'document' (was '" + responseType() + "').");
341 void XMLHttpRequest::setTimeout(unsigned long timeout, ExceptionState& exceptionState)
346 exceptionState.throwDOMException(InvalidAccessError, "Timeouts cannot be set for synchronous requests made from a (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
InspectorIndexedDBAgent.cpp 34 #include "bindings/v8/ExceptionState.h"
194 TrackExceptionState exceptionState;
195 IDBOpenDBRequest* idbOpenDBRequest = idbFactory->open(scriptState(), databaseName, exceptionState);
196 if (exceptionState.hadException()) {
205 TrackExceptionState exceptionState;
206 IDBTransaction* idbTransaction = idbDatabase->transaction(executionContext, objectStoreName, mode, exceptionState);
207 if (exceptionState.hadException())
214 TrackExceptionState exceptionState;
215 IDBObjectStore* idbObjectStore = idbTransaction->objectStore(objectStoreName, exceptionState);
216 if (exceptionState.hadException()
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/27/1/.cp/lib/
antsupportlib.jar 
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorCSSAgent.cpp 28 #include "bindings/v8/ExceptionState.h"
164 virtual bool perform(ExceptionState& exceptionState) OVERRIDE
168 return redo(exceptionState);
171 virtual bool undo(ExceptionState& exceptionState) OVERRIDE
173 return m_styleSheet->setText(m_oldText, exceptionState);
176 virtual bool redo(ExceptionState& exceptionState) OVERRIDE
178 return m_styleSheet->setText(m_text, exceptionState);
    [all...]
InspectorDOMAgent.cpp 34 #include "bindings/v8/ExceptionState.h"
221 String InspectorDOMAgent::toErrorString(ExceptionState& exceptionState)
223 if (exceptionState.hadException())
224 return DOMException::getErrorName(exceptionState.code()) + " " + exceptionState.message();
606 TrackExceptionState exceptionState;
607 RefPtrWillBeRawPtr<Element> element = toContainerNode(node)->querySelector(AtomicString(selectors), exceptionState);
608 if (exceptionState.hadException()) {
623 TrackExceptionState exceptionState;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/xml/parser/
XMLDocumentParser.cpp 29 #include "bindings/v8/ExceptionState.h"
902 static inline void handleNamespaceAttributes(Vector<Attribute>& prefixedAttributes, const xmlChar** libxmlNamespaces, int nbNamespaces, ExceptionState& exceptionState)
912 if (!Element::parseAttributeName(parsedName, XMLNSNames::xmlnsNamespaceURI, namespaceQName, exceptionState))
927 static inline void handleElementAttributes(Vector<Attribute>& prefixedAttributes, const xmlChar** libxmlAttributes, int nbAttributes, ExceptionState& exceptionState)
938 if (!Element::parseAttributeName(parsedName, attrURI, attrQName, exceptionState))
978 TrackExceptionState exceptionState;
979 handleNamespaceAttributes(prefixedAttributes, libxmlNamespaces, nbNamespaces, exceptionState);
980 if (exceptionState.hadException())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebFrameTest.cpp 636 WebCore::NonThrowableExceptionState exceptionState;
637 frame->domWindow()->postMessage(WebCore::SerializedScriptValue::create("message"), 0, "*", frame->domWindow(), exceptionState);
639 EXPECT_FALSE(exceptionState.hadException());
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
V8TestObject.cpp 33 #include "bindings/v8/ExceptionState.h"
215 ExceptionState exceptionState(ExceptionState::SetterContext, "byteStringAttribute", "TestObject", holder, info.GetIsolate());
217 TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), exceptionState);
245 ExceptionState exceptionState(ExceptionState::SetterContext, "scalarValueStringAttribute", "TestObject", holder, info.GetIsolate());
247 TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toScalarValueString(v8Value, exceptionState), exceptionState)
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.team.core_3.5.100.R36x_v20100825-0800.jar 

Completed in 1332 milliseconds

12