/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
MediaConstraintsImpl.cpp | 37 #include "bindings/v8/ExceptionState.h" 115 blink::WebMediaConstraints create(const Dictionary& constraintsDictionary, ExceptionState& exceptionState) 120 exceptionState.throwTypeError("Malformed constraints object.");
|
MediaStream.cpp | 29 #include "bindings/v8/ExceptionState.h" 169 void MediaStream::addTrack(PassRefPtrWillBeRawPtr<MediaStreamTrack> prpTrack, ExceptionState& exceptionState) 172 exceptionState.throwDOMException(InvalidStateError, "The MediaStream is finished."); 177 exceptionState.throwDOMException(TypeMismatchError, "The MediaStreamTrack provided is invalid."); 199 void MediaStream::removeTrack(PassRefPtrWillBeRawPtr<MediaStreamTrack> prpTrack, ExceptionState& exceptionState) 202 exceptionState.throwDOMException(InvalidStateError, "The MediaStream is finished."); 207 exceptionState.throwDOMException(TypeMismatchError, "The MediaStreamTrack provided is invalid.");
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
ConvolverNode.cpp | 31 #include "bindings/v8/ExceptionState.h" 112 void ConvolverNode::setBuffer(AudioBuffer* buffer, ExceptionState& exceptionState) 120 exceptionState.throwDOMException(
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Element.cpp | 31 #include "bindings/v8/ExceptionState.h" 706 void Element::setScrollLeft(const Dictionary& scrollOptionsHorizontal, ExceptionState& exceptionState) 712 exceptionState.throwTypeError("The ScrollBehavior provided is invalid."); 719 exceptionState.throwTypeError("ScrollOptionsHorizontal must include an 'x' member."); 752 void Element::setScrollTop(const Dictionary& scrollOptionsVertical, ExceptionState& exceptionState) 758 exceptionState.throwTypeError("The ScrollBehavior provided is invalid."); 765 exceptionState.throwTypeError("ScrollOptionsVertical must include a 'y' member."); 890 void Element::setAttribute(const AtomicString& localName, const AtomicString& value, ExceptionState& exceptionState [all...] |
DOMImplementation.cpp | 28 #include "bindings/v8/ExceptionState.h" 191 const String& publicId, const String& systemId, ExceptionState& exceptionState) 194 if (!Document::parseQualifiedName(qualifiedName, prefix, localName, exceptionState)) 201 const AtomicString& qualifiedName, DocumentType* doctype, ExceptionState& exceptionState) 218 documentElement = doc->createElementNS(namespaceURI, qualifiedName, exceptionState); 219 if (exceptionState.hadException())
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8SubtleCryptoCustom.cpp | 83 ExceptionState exceptionState(ExceptionState::ExecutionContext, "verify", "SubtleCrypto", info.Holder(), isolate); 117 throwArityTypeError(exceptionState, "[4]", info.Length()); 121 exceptionState.throwTypeError("No function was found that matched the signature provided."); 122 exceptionState.throwIfNeeded();
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaList.cpp | 23 #include "bindings/v8/ExceptionState.h" 216 void MediaList::deleteMedium(const String& medium, ExceptionState& exceptionState) 222 exceptionState.throwDOMException(NotFoundError, "Failed to delete '" + medium + "'."); 229 void MediaList::appendMedium(const String& medium, ExceptionState& exceptionState) 235 exceptionState.throwDOMException(InvalidCharacterError, "The value provided ('" + medium + "') is not a valid medium.");
|
FontFaceSet.cpp | 282 void FontFaceSet::add(FontFace* fontFace, ExceptionState& exceptionState) 287 exceptionState.throwTypeError("The argument is not a FontFace."); 293 exceptionState.throwDOMException(InvalidModificationError, "Cannot add a CSS-connected FontFace."); 319 bool FontFaceSet::remove(FontFace* fontFace, ExceptionState& exceptionState) 324 exceptionState.throwTypeError("The argument is not a FontFace."); 338 exceptionState.throwDOMException(InvalidModificationError, "Cannot delete a CSS-connected FontFace."); 342 bool FontFaceSet::has(FontFace* fontFace, ExceptionState& exceptionState) cons [all...] |
CSSPrimitiveValue.h | 39 class ExceptionState; 306 double getDoubleValue(UnitType, ExceptionState&) const; 310 // setFloatValue(..., ExceptionState&) and setStringValue() must use unsigned short instead of UnitType to match IDL bindings. 311 void setFloatValue(unsigned short unitType, double floatValue, ExceptionState&); 312 float getFloatValue(unsigned short unitType, ExceptionState& exceptionState) const { return getValue<float>(static_cast<UnitType>(unitType), exceptionState); } 316 int getIntValue(UnitType type, ExceptionState& exceptionState) const { return getValue<int>(type, exceptionState); } [all...] |
CSSMatrix.h | 36 class ExceptionState; 44 static PassRefPtrWillBeRawPtr<CSSMatrix> create(const String& s, ExceptionState& exceptionState) 46 return adoptRefWillBeNoop(new CSSMatrix(s, exceptionState)); 97 void setMatrixValue(const String&, ExceptionState&); 106 PassRefPtrWillBeRawPtr<CSSMatrix> inverse(ExceptionState&) const; 154 CSSMatrix(const String&, ExceptionState&);
|
CSSStyleSheet.h | 40 class ExceptionState; 68 unsigned insertRule(const String& rule, unsigned index, ExceptionState&); 69 unsigned insertRule(const String& rule, ExceptionState&); // Deprecated. 70 void deleteRule(unsigned index, ExceptionState&); 74 int addRule(const String& selector, const String& style, int index, ExceptionState&); 75 int addRule(const String& selector, const String& style, ExceptionState&); 76 void removeRule(unsigned index, ExceptionState& exceptionState) { deleteRule(index, exceptionState); }
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLDocument.cpp | 275 void HTMLDocument::write(LocalDOMWindow* callingWindow, const Vector<String>& text, ExceptionState& exceptionState) 281 write(builder.toString(), callingWindow->document(), exceptionState); 284 void HTMLDocument::writeln(LocalDOMWindow* callingWindow, const Vector<String>& text, ExceptionState& exceptionState) 290 writeln(builder.toString(), callingWindow->document(), exceptionState);
|
HTMLOptionElement.cpp | 30 #include "bindings/v8/ExceptionState.h" 63 bool defaultSelected, bool selected, ExceptionState& exceptionState) 66 element->appendChild(Text::create(document, data.isNull() ? "" : data), exceptionState); 67 if (exceptionState.hadException()) 122 void HTMLOptionElement::setText(const String &text, ExceptionState& exceptionState) 139 appendChild(Text::create(document(), text), exceptionState);
|
HTMLCanvasElement.h | 104 String toDataURL(const String& mimeType, const double* quality, ExceptionState&) const; 105 String toDataURL(const String& mimeType, ExceptionState& exceptionState) const { return toDataURL(mimeType, 0, exceptionState); }
|
/external/chromium_org/third_party/WebKit/Source/core/timing/ |
Performance.cpp | 245 void Performance::mark(const String& markName, ExceptionState& exceptionState) 249 m_userTiming->mark(markName, exceptionState); 259 void Performance::measure(const String& measureName, const String& startMark, const String& endMark, ExceptionState& exceptionState) 263 m_userTiming->measure(measureName, startMark, endMark, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
WorkerGlobalScope.cpp | 31 #include "bindings/v8/ExceptionState.h" 227 void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState& exceptionState) 239 exceptionState.throwDOMException(SyntaxError, "The URL '" + *it + "' is invalid."); 243 exceptionState.throwDOMException(NetworkError, "The script at '" + url.elidedString() + "' failed to load."); 257 exceptionState.throwDOMException(NetworkError, "The script at '" + it->elidedString() + "' failed to load.");
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestInterfaceEventConstructor.cpp | 12 #include "bindings/v8/ExceptionState.h" 252 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceEventConstructor", info.Holder(), isolate); 254 exceptionState.throwTypeError("An event name must be provided."); 255 exceptionState.throwIfNeeded(); 264 if (!initializeTestInterfaceEventConstructor(eventInit, options, exceptionState, info)) { 265 exceptionState.throwIfNeeded(); 272 RefPtrWillBeRawPtr<TestInterfaceEventConstructor> event = TestInterfaceEventConstructor::create(type, eventInit, exceptionState); 273 if (exceptionState.throwIfNeeded() [all...] |
V8TestInterfaceCheckSecurity.cpp | 11 #include "bindings/v8/ExceptionState.h" 77 ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityLongAttribute", "TestInterfaceCheckSecurity", holder, info.GetIsolate()); 79 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState); 121 ExceptionState exceptionState(ExceptionState::SetterContext, "doNotCheckSecurityOnSetterLongAttribute", "TestInterfaceCheckSecurity", holder, info.GetIsolate()); 123 TONATIVE_VOID_EXCEPTIONSTATE(int, cppValue, toInt32(v8Value, exceptionState), exceptionState) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimationPlayerTest.cpp | 88 TrackExceptionState exceptionState; 412 player->finish(exceptionState); 417 player->finish(exceptionState); 421 EXPECT_FALSE(exceptionState.hadException()); 427 player->finish(exceptionState); 435 player->finish(exceptionState); 443 player->finish(exceptionState); 455 player->finish(exceptionState); 457 EXPECT_TRUE(exceptionState.hadException()); 458 EXPECT_EQ(InvalidStateError, exceptionState.code()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
InputType.cpp | 32 #include "bindings/v8/ExceptionState.h" 196 void InputType::setValueAsDate(double, ExceptionState& exceptionState) const 198 exceptionState.throwDOMException(InvalidStateError, "This input element does not support Date values."); 206 void InputType::setValueAsDouble(double doubleValue, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState) const 208 exceptionState.throwDOMException(InvalidStateError, "This input element does not support Number values."); 211 void InputType::setValueAsDecimal(const Decimal& newValue, TextFieldEventBehavior eventBehavior, ExceptionState&) const 791 void InputType::applyStep(const Decimal& current, int count, AnyStepHandling anyStepHandling, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState) [all...] |
BaseDateAndTimeInputType.cpp | 55 void BaseDateAndTimeInputType::setValueAsDate(double value, ExceptionState&) const 66 void BaseDateAndTimeInputType::setValueAsDouble(double newValue, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState) const 68 setValueAsDecimal(Decimal::fromDouble(newValue), eventBehavior, exceptionState);
|
DateTimeLocalInputType.cpp | 34 #include "bindings/v8/ExceptionState.h" 74 void DateTimeLocalInputType::setValueAsDate(double value, ExceptionState& exceptionState) const 77 InputType::setValueAsDate(value, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGViewSpec.cpp | 24 #include "bindings/v8/ExceptionState.h" 119 void SVGViewSpec::setZoomAndPan(unsigned short, ExceptionState& exceptionState) 122 exceptionState.throwDOMException(NoModificationAllowedError, ExceptionMessages::readOnly());
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
SVGAnimatedProperty.h | 201 void setBaseVal(PrimitiveType value, WebCore::ExceptionState& exceptionState) 204 exceptionState.throwDOMException(NoModificationAllowedError, "The attribute is read-only.");
|
/external/chromium_org/third_party/WebKit/Source/modules/speech/ |
SpeechRecognition.cpp | 30 #include "bindings/v8/ExceptionState.h" 47 void SpeechRecognition::start(ExceptionState& exceptionState) 51 exceptionState.throwDOMException(InvalidStateError, "recognition has already started.");
|