HomeSort by relevance Sort by last modified time
    Searched defs:exceptionState (Results 1 - 25 of 39) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableStrokeDasharrayListTest.cpp 50 TrackExceptionState exceptionState;
51 vectorB[3].newValueSpecifiedUnits(LengthTypePX, 50, exceptionState);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
SplitElementCommand.cpp 30 #include "bindings/v8/ExceptionState.h"
56 TrackExceptionState exceptionState;
61 parent->insertBefore(m_element1.get(), m_element2.get(), exceptionState);
62 if (exceptionState.hadException())
70 m_element1->appendChild(children[i], exceptionState);
SplitTextNodeCommand.cpp 29 #include "bindings/v8/ExceptionState.h"
99 TrackExceptionState exceptionState;
100 m_text2->parentNode()->insertBefore(m_text1.get(), m_text2.get(), exceptionState);
101 if (exceptionState.hadException())
103 m_text2->deleteData(0, m_offset, exceptionState, CharacterData::DeprecatedRecalcStyleImmediatlelyForEditing);
VisibleSelection.cpp 29 #include "bindings/v8/ExceptionState.h"
220 TrackExceptionState exceptionState;
223 searchRange->selectNodeContents(boundary, exceptionState);
224 searchRange->setStart(start.containerNode(), start.offsetInContainerNode(), exceptionState);
226 ASSERT(!exceptionState.hadException());
227 if (exceptionState.hadException())
VisiblePosition.cpp 31 #include "bindings/v8/ExceptionState.h"
752 TrackExceptionState exceptionState;
753 r->setStart(p.containerNode(), p.offsetInContainerNode(), exceptionState);
754 return !exceptionState.hadException();
762 TrackExceptionState exceptionState;
763 r->setEnd(p.containerNode(), p.offsetInContainerNode(), exceptionState);
764 return !exceptionState.hadException();
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGLengthList.cpp 24 #include "bindings/v8/ExceptionState.h"
33 TrackExceptionState exceptionState;
46 length.setValueAsString(valueString, exceptionState);
47 if (exceptionState.hadException())
SVGAnimatedType.cpp 23 #include "bindings/v8/ExceptionState.h"
283 TrackExceptionState exceptionState;
284 m_data.length->setValueAsString(value, SVGLength::lengthModeForAnimatedLengthAttribute(attrName), exceptionState);
285 return !exceptionState.hadException();
SVGLength.h 24 #include "bindings/v8/ExceptionState.h"
33 class ExceptionState;
72 float value(const SVGLengthContext&, ExceptionState&) const;
73 void setValue(float, const SVGLengthContext&, ExceptionState&);
74 void setValue(const SVGLengthContext&, float, SVGLengthMode, SVGLengthType, ExceptionState&);
82 void setValueAsString(const String&, ExceptionState&);
83 void setValueAsString(const String&, SVGLengthMode, ExceptionState&);
85 void newValueSpecifiedUnits(unsigned short, float valueInSpecifiedUnits, ExceptionState&);
86 void convertToSpecifiedUnits(unsigned short, const SVGLengthContext&, ExceptionState&);
117 TrackExceptionState exceptionState;
    [all...]
SVGLength.cpp 152 void SVGLength::setValueAsString(const String& valueAsString, SVGLengthMode mode, ExceptionState& exceptionState)
156 setValueAsString(valueAsString, exceptionState);
172 TrackExceptionState exceptionState;
175 length.setValueAsString(valueAsString, exceptionState);
177 if (exceptionState.hadException())
200 float SVGLength::value(const SVGLengthContext& context, ExceptionState& exceptionState) const
202 return context.convertValueToUserUnits(m_valueInSpecifiedUnits, extractMode(m_unit), extractType(m_unit), exceptionState);
205 void SVGLength::setValue(const SVGLengthContext& context, float value, SVGLengthMode mode, SVGLengthType unitType, ExceptionState& exceptionState
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
DOMStringMap.h 29 #include "bindings/v8/ExceptionState.h"
50 virtual void setItem(const String& name, const String& value, ExceptionState&) = 0;
51 virtual void deleteItem(const String& name, ExceptionState&) = 0;
52 bool anonymousNamedSetter(const String& name, const String& value, ExceptionState& exceptionState)
54 setItem(name, value, exceptionState);
57 bool anonymousNamedDeleter(const AtomicString& name, ExceptionState&)
59 // FIXME: Remove ExceptionState parameter.
61 TrackExceptionState exceptionState;
62 deleteItem(name, exceptionState);
    [all...]
DatasetDOMStringMap.cpp 30 #include "bindings/v8/ExceptionState.h"
181 void DatasetDOMStringMap::setItem(const String& name, const String& value, ExceptionState& exceptionState)
184 exceptionState.throwDOMException(SyntaxError, ExceptionMessages::failedToSet(name, "DOMStringMap", "'" + name + "' is not a valid property name."));
188 m_element->setAttribute(convertPropertyNameToAttributeName(name), value, exceptionState);
191 void DatasetDOMStringMap::deleteItem(const String& name, ExceptionState& exceptionState)
194 exceptionState.throwDOMException(SyntaxError, ExceptionMessages::failedToDelete(name, "DOMStringMap", "'" + name + "' is not a valid property name."));
ContainerNode.cpp 26 #include "bindings/v8/ExceptionState.h"
58 static void collectChildrenAndRemoveFromOldParent(Node& node, NodeVector& nodes, ExceptionState& exceptionState)
63 oldParent->removeChild(&node, exceptionState);
114 bool ContainerNode::checkAcceptChild(const Node* newChild, const Node* oldChild, ExceptionState& exceptionState) const
118 exceptionState.throwDOMException(NotFoundError, "The new child element is null.");
126 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent.");
135 exceptionState.throwDOMException(HierarchyRequestError, "The new child element is a pseudo-element.");
140 exceptionState.throwDOMException(HierarchyRequestError, "The new child element contains the parent.")
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
MediaControlsChromiumAndroid.cpp 29 #include "bindings/v8/ExceptionState.h"
53 TrackExceptionState exceptionState;
58 overlayEnclosure->appendChild(overlayPlayButton.release(), exceptionState);
59 if (exceptionState.hadException())
63 controls->appendChild(overlayEnclosure.release(), exceptionState);
64 if (exceptionState.hadException())
MediaControlsChromium.cpp 30 #include "bindings/v8/ExceptionState.h"
72 TrackExceptionState exceptionState;
76 panel->appendChild(playButton.release(), exceptionState);
77 if (exceptionState.hadException())
82 panel->appendChild(timeline.release(), exceptionState);
83 if (exceptionState.hadException())
89 panel->appendChild(currentTimeDisplay.release(), exceptionState);
90 if (exceptionState.hadException())
95 panel->appendChild(durationDisplay.release(), exceptionState);
96 if (exceptionState.hadException()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDOMStorageAgent.cpp 34 #include "bindings/v8/ExceptionState.h"
56 static bool hadException(ExceptionState& exceptionState, ErrorString* errorString)
58 if (!exceptionState.hadException())
61 switch (exceptionState.code()) {
119 TrackExceptionState exceptionState;
120 for (unsigned i = 0; i < storageArea->length(exceptionState, frame); ++i) {
121 String name(storageArea->key(i, exceptionState, frame));
122 if (hadException(exceptionState, errorString))
124 String value(storageArea->getItem(name, exceptionState, frame))
    [all...]
DOMEditor.cpp 34 #include "bindings/v8/ExceptionState.h"
59 virtual bool perform(ExceptionState& exceptionState)
62 return redo(exceptionState);
65 virtual bool undo(ExceptionState& exceptionState)
67 m_parentNode->insertBefore(m_node.get(), m_anchorNode.get(), exceptionState);
68 return !exceptionState.hadException();
71 virtual bool redo(ExceptionState& exceptionState)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebElement.cpp 34 #include "bindings/v8/ExceptionState.h"
104 TrackExceptionState exceptionState;
105 unwrap<Element>()->setAttribute(attrName, attrValue, exceptionState);
106 return !exceptionState.hadException();
WebRange.cpp 37 #include "bindings/v8/ExceptionState.h"
84 TrackExceptionState exceptionState;
85 RefPtr<Node> node(m_private->startContainer(exceptionState));
86 exceptionCode = exceptionState.code();
93 TrackExceptionState exceptionState;
94 RefPtr<Node> node(m_private->endContainer(exceptionState));
95 exceptionCode = exceptionState.code();
WebDocument.cpp 43 #include "bindings/v8/ExceptionState.h"
247 TrackExceptionState exceptionState;
248 WebDOMEvent event(unwrap<Document>()->createEvent(eventType, exceptionState));
249 if (exceptionState.hadException())
261 TrackExceptionState exceptionState;
262 WebElement element(unwrap<Document>()->createElement(tagName, exceptionState));
263 if (exceptionState.hadException())
300 TrackExceptionState exceptionState;
301 ScriptValue constructor = document->registerElement(ScriptState::current(), name, dictionary, exceptionState, CustomElement::EmbedderNames);
302 ec = exceptionState.code()
    [all...]
WebNode.cpp 44 #include "bindings/v8/ExceptionState.h"
200 TrackExceptionState exceptionState;
201 WebElement element(m_private->querySelector(tag, exceptionState));
202 ec = exceptionState.code();
218 TrackExceptionState exceptionState;
219 m_private->remove(exceptionState);
220 return !exceptionState.hadException();
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dictionary.h 30 #include "bindings/v8/ExceptionState.h"
104 ConversionContext(const String& interfaceName, const String& methodName, ExceptionState& exceptionState)
107 , m_exceptionState(exceptionState)
116 ExceptionState& exceptionState() const { return m_exceptionState; }
130 ExceptionState& m_exceptionState;
  /external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmapTest.cpp 205 TrackExceptionState exceptionState;
206 toCanvasRenderingContext2D(context)->drawImage(imageBitmapDerived.get(), 0, 0, exceptionState);
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
GIFImageReader.cpp 490 GIFState exceptionState = GIFSkipBlock;
494 exceptionState = GIFControlExtension;
513 exceptionState = GIFApplicationExtension;
517 exceptionState = GIFConsumeComment;
522 GETN(bytesInBlock, exceptionState);
  /external/chromium_org/third_party/WebKit/Source/core/page/
DOMSelection.cpp 34 #include "bindings/v8/ExceptionState.h"
196 void DOMSelection::collapse(Node* node, int offset, ExceptionState& exceptionState)
202 exceptionState.throwDOMException(IndexSizeError, String::number(offset) + " is not a valid offset.");
213 void DOMSelection::collapseToEnd(ExceptionState& exceptionState)
221 exceptionState.throwDOMException(InvalidStateError, "there is no selection.");
228 void DOMSelection::collapseToStart(ExceptionState& exceptionState)
236 exceptionState.throwDOMException(InvalidStateError, "there is no selection.")
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/mediasource/
SourceBuffer.cpp 34 #include "bindings/v8/ExceptionState.h"
92 PassRefPtr<TimeRanges> SourceBuffer::buffered(ExceptionState& exceptionState) const
98 exceptionState.throwUninformativeAndGenericDOMException(InvalidStateError);
111 void SourceBuffer::setTimestampOffset(double offset, ExceptionState& exceptionState)
119 exceptionState.throwUninformativeAndGenericDOMException(InvalidStateError);
133 exceptionState.throwUninformativeAndGenericDOMException(InvalidStateError);
146 void SourceBuffer::setAppendWindowStart(double start, ExceptionState& exceptionState)
    [all...]

Completed in 362 milliseconds

1 2