/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
H A D | CanvasPathMethods.cpp | 110 void CanvasPathMethods::arcTo(float x1, float y1, float x2, float y2, float r, ExceptionState& exceptionState) argument 116 exceptionState.throwDOMException(IndexSizeError, "The radius provided (" + String::number(r) + ") is negative."); 254 void CanvasPathMethods::arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) argument 260 exceptionState.throwDOMException(IndexSizeError, "The radius provided (" + String::number(radius) + ") is negative."); 278 void CanvasPathMethods::ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) argument 284 exceptionState.throwDOMException(IndexSizeError, "The major-axis radius provided (" + String::number(radiusX) + ") is negative."); 288 exceptionState.throwDOMException(IndexSizeError, "The minor-axis radius provided (" + String::number(radiusY) + ") is negative.");
|
H A D | DataView.cpp | 134 T DataView::getData(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) const 137 exceptionState.throwDOMException(IndexSizeError, "The provided offset (" + String::number(byteOffset) + ") is outside the allowed range."); 149 void DataView::setData(unsigned byteOffset, T value, bool littleEndian, ExceptionState& exceptionState) argument 152 exceptionState.throwDOMException(IndexSizeError, "The provided offset (" + String::number(byteOffset) + ") is outside the allowed range."); 163 int8_t DataView::getInt8(unsigned byteOffset, ExceptionState& exceptionState) argument 165 return getData<int8_t>(byteOffset, false, exceptionState); 168 uint8_t DataView::getUint8(unsigned byteOffset, ExceptionState& exceptionState) argument 170 return getData<uint8_t>(byteOffset, false, exceptionState); 173 int16_t DataView::getInt16(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 175 return getData<int16_t>(byteOffset, littleEndian, exceptionState); 178 getUint16(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 183 getInt32(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 188 getUint32(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 193 getFloat32(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 198 getFloat64(unsigned byteOffset, bool littleEndian, ExceptionState& exceptionState) argument 203 setInt8(unsigned byteOffset, int8_t value, ExceptionState& exceptionState) argument 208 setUint8(unsigned byteOffset, uint8_t value, ExceptionState& exceptionState) argument 213 setInt16(unsigned byteOffset, short value, bool littleEndian, ExceptionState& exceptionState) argument 218 setUint16(unsigned byteOffset, uint16_t value, bool littleEndian, ExceptionState& exceptionState) argument 223 setInt32(unsigned byteOffset, int32_t value, bool littleEndian, ExceptionState& exceptionState) argument 228 setUint32(unsigned byteOffset, uint32_t value, bool littleEndian, ExceptionState& exceptionState) argument 233 setFloat32(unsigned byteOffset, float value, bool littleEndian, ExceptionState& exceptionState) argument 238 setFloat64(unsigned byteOffset, double value, bool littleEndian, ExceptionState& exceptionState) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | MediaControls.cpp | 86 TrackExceptionState exceptionState; local 93 overlayEnclosure->appendChild(overlayPlayButton.release(), exceptionState); 94 if (exceptionState.hadException()) 100 overlayEnclosure->appendChild(overlayCastButton.release(), exceptionState); 101 if (exceptionState.hadException()) 105 appendChild(overlayEnclosure.release(), exceptionState); 106 if (exceptionState.hadException()) 116 panel->appendChild(playButton.release(), exceptionState); 117 if (exceptionState.hadException()) 122 panel->appendChild(timeline.release(), exceptionState); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/track/ |
H A D | TextTrack.cpp | 254 void TextTrack::removeCue(TextTrackCue* cue, ExceptionState& exceptionState) argument 266 exceptionState.throwDOMException(NotFoundError, "The specified cue is not listed in the TextTrack's list of cues."); 272 exceptionState.throwDOMException(InvalidStateError, "Failed to remove the specified cue."); 332 void TextTrack::removeRegion(VTTRegion* region, ExceptionState &exceptionState) argument 340 exceptionState.throwDOMException(NotFoundError, "The specified region is not listed in the TextTrack's list of regions."); 345 exceptionState.throwDOMException(InvalidStateError, "Failed to remove the specified region.");
|
/external/chromium_org/third_party/WebKit/Source/core/imagebitmap/ |
H A D | ImageBitmapFactories.cpp | 80 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageElement* image, ExceptionState& exceptionState) argument 83 return createImageBitmap(scriptState, eventTarget, image, 0, 0, s.width(), s.height(), exceptionState); 86 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageElement* image, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 92 exceptionState.throwDOMException(InvalidStateError, "No image can be retrieved from the provided element."); 96 exceptionState.throwDOMException(InvalidStateError, "The image element contains an SVG image, which is unsupported."); 100 exceptionState.throwDOMException(IndexSizeError, String::format("The source %s provided is 0.", sw ? "height" : "width")); 104 exceptionState.throwSecurityError("The source image contains image data from multiple origins."); 108 exceptionState.throwSecurityError("Cross-origin access to the source image is denied."); 115 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLVideoElement* video, ExceptionState& exceptionState) argument 118 return createImageBitmap(scriptState, eventTarget, video, 0, 0, s.width(), s.height(), exceptionState); 121 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLVideoElement* video, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 151 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, CanvasRenderingContext2D* context, ExceptionState& exceptionState) argument 156 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, CanvasRenderingContext2D* context, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 161 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLCanvasElement* canvas, ExceptionState& exceptionState) argument 166 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLCanvasElement* canvas, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 184 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, Blob* blob, ExceptionState& exceptionState) argument 193 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, Blob* blob, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 206 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageData* data, ExceptionState& exceptionState) argument 211 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageData* data, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument 221 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageBitmap* bitmap, ExceptionState& exceptionState) argument 226 createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, ImageBitmap* bitmap, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
H A D | DOMEditor.cpp | 57 virtual bool perform(ExceptionState& exceptionState) OVERRIDE 60 return redo(exceptionState); 63 virtual bool undo(ExceptionState& exceptionState) OVERRIDE 65 m_parentNode->insertBefore(m_node.get(), m_anchorNode.get(), exceptionState); 66 return !exceptionState.hadException(); 69 virtual bool redo(ExceptionState& exceptionState) OVERRIDE 71 m_parentNode->removeChild(m_node.get(), exceptionState); 72 return !exceptionState.hadException(); 100 virtual bool perform(ExceptionState& exceptionState) OVERRIDE 104 if (!m_removeChildAction->perform(exceptionState)) 417 insertBefore(Node* parentNode, PassRefPtrWillBeRawPtr<Node> node, Node* anchorNode, ExceptionState& exceptionState) argument 422 removeChild(Node* parentNode, Node* node, ExceptionState& exceptionState) argument 427 setAttribute(Element* element, const String& name, const String& value, ExceptionState& exceptionState) argument 432 removeAttribute(Element* element, const String& name, ExceptionState& exceptionState) argument 437 setOuterHTML(Node* node, const String& html, Node** newNode, ExceptionState& exceptionState) argument 446 replaceWholeText(Text* textNode, const String& text, ExceptionState& exceptionState) argument 451 replaceChild(Node* parentNode, PassRefPtrWillBeRawPtr<Node> newNode, Node* oldNode, ExceptionState& exceptionState) argument 456 setNodeValue(Node* node, const String& value, ExceptionState& exceptionState) argument 461 populateErrorString(ExceptionState& exceptionState, ErrorString* errorString) argument 469 TrackExceptionState exceptionState; local 477 TrackExceptionState exceptionState; local 485 TrackExceptionState exceptionState; local 493 TrackExceptionState exceptionState; local 501 TrackExceptionState exceptionState; local 509 TrackExceptionState exceptionState; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
H A D | EventSource.cpp | 75 PassRefPtrWillBeRawPtr<EventSource> EventSource::create(ExecutionContext* context, const String& url, const EventSourceInit& eventSourceInit, ExceptionState& exceptionState) argument 78 exceptionState.throwDOMException(SyntaxError, "Cannot open an EventSource to an empty URL."); 84 exceptionState.throwDOMException(SyntaxError, "Cannot open an EventSource to '" + url + "'. The URL is invalid."); 96 exceptionState.throwSecurityError("Refused to connect to '" + fullURL.elidedString() + "' because it violates the document's Content Security Policy.");
|
/external/chromium_org/third_party/WebKit/Source/core/streams/ |
H A D | ReadableStreamTest.cpp | 72 void operator()(ExceptionState* exceptionState) argument 74 exceptionState->throwTypeError(m_message);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGAngle.cpp | 228 void SVGAngle::setValueAsString(const String& value, ExceptionState& exceptionState) argument 252 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + value + "') is invalid."); 268 void SVGAngle::convertToSpecifiedUnits(SVGAngleType unitType, ExceptionState& exceptionState) argument 271 exceptionState.throwDOMException(NotSupportedError, "Cannot convert from unknown or invalid units.");
|
H A D | SVGGraphicsElement.cpp | 46 PassRefPtr<SVGMatrixTearOff> SVGGraphicsElement::getTransformToElement(SVGElement* target, ExceptionState& exceptionState) argument 53 exceptionState.throwDOMException(InvalidStateError, "The target transformation is not invertable.");
|
H A D | SVGLengthList.cpp | 81 void SVGLengthList::parseInternal(const CharType*& ptr, const CharType* end, ExceptionState& exceptionState) argument 95 length->setValueAsString(valueString, exceptionState); 96 if (exceptionState.hadException()) 103 void SVGLengthList::setValueAsString(const String& value, ExceptionState& exceptionState) argument 112 parseInternal(ptr, end, exceptionState); 116 parseInternal(ptr, end, exceptionState);
|
H A D | SVGNumberList.cpp | 80 void SVGNumberList::setValueAsString(const String& value, ExceptionState& exceptionState) argument 99 exceptionState.throwDOMException(SyntaxError, "Problem parsing number list \""+value+"\"");
|
H A D | SVGPathSegList.cpp | 150 void SVGPathSegList::setValueAsString(const String& string, ExceptionState& exceptionState) argument 156 exceptionState.throwDOMException(SyntaxError, "Problem parsing path \"" + string + "\"");
|
H A D | SVGPointList.cpp | 99 void SVGPointList::setValueAsString(const String& value, ExceptionState& exceptionState) argument 118 exceptionState.throwDOMException(SyntaxError, "Problem parsing points=\""+value+"\"");
|
H A D | SVGPreserveAspectRatio.cpp | 166 void SVGPreserveAspectRatio::setValueAsString(const String& string, ExceptionState& exceptionState) argument 185 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
|
H A D | SVGTransformList.cpp | 228 void SVGTransformList::setValueAsString(const String& value, ExceptionState& exceptionState) argument 248 exceptionState.throwDOMException(SyntaxError, "Problem parsing transform list=\""+value+"\"");
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
H A D | SVGListPropertyHelper.h | 226 PassRefPtr<ItemProperty> SVGListPropertyHelper<Derived, ItemProperty>::getItem(size_t index, ExceptionState& exceptionState) argument 228 if (!checkIndexBound(index, exceptionState)) 260 PassRefPtr<ItemProperty> SVGListPropertyHelper<Derived, ItemProperty>::removeItem(size_t index, ExceptionState& exceptionState) argument 263 exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::indexExceedsMaximumBound("index", index, m_values.size())); 288 PassRefPtr<ItemProperty> SVGListPropertyHelper<Derived, ItemProperty>::replaceItem(PassRefPtr<ItemProperty> passNewItem, size_t index, ExceptionState& exceptionState) argument 290 if (!checkIndexBound(index, exceptionState)) 304 exceptionState.throwDOMException(IndexSizeError, String::format("Failed to replace the provided item at index %zu.", index)); 319 bool SVGListPropertyHelper<Derived, ItemProperty>::checkIndexBound(size_t index, ExceptionState& exceptionState) argument 322 exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::indexExceedsMaximumBound("index", index, m_values.size()));
|
/external/chromium_org/third_party/WebKit/Source/core/timing/ |
H A D | Performance.cpp | 244 void Performance::mark(const String& markName, ExceptionState& exceptionState) argument 248 m_userTiming->mark(markName, exceptionState); 258 void Performance::measure(const String& measureName, const String& startMark, const String& endMark, ExceptionState& exceptionState) argument 262 m_userTiming->measure(measureName, startMark, endMark, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
H A D | WorkerGlobalScope.cpp | 215 void WorkerGlobalScope::importScripts(const Vector<String>& urls, ExceptionState& exceptionState) argument 227 exceptionState.throwDOMException(SyntaxError, "The URL '" + *it + "' is invalid."); 231 exceptionState.throwDOMException(NetworkError, "The script at '" + url.elidedString() + "' failed to load."); 245 exceptionState.throwDOMException(NetworkError, "The script at '" + it->elidedString() + "' failed to load."); 254 m_script->rethrowExceptionFromImportedScript(errorEvent.release(), exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
H A D | DOMFileSystemSync.cpp | 152 PassRefPtrWillBeRawPtr<File> DOMFileSystemSync::createFile(const FileEntrySync* fileEntry, ExceptionState& exceptionState) argument 158 exceptionState.throwDOMException(result->m_code, "Could not create '" + fileEntry->name() + "'."); 207 FileWriterSync* DOMFileSystemSync::createWriter(const FileEntrySync* fileEntry, ExceptionState& exceptionState) argument 221 FileError::throwDOMException(exceptionState, errorCode);
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
H A D | IDBCursor.cpp | 93 IDBRequest* IDBCursor::update(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState) argument 98 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::noValueErrorMessage); 102 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::isKeyCursorErrorMessage); 106 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::sourceDeletedErrorMessage); 110 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionFinishedErrorMessage); 114 exceptionState.throwDOMException(TransactionInactiveError, IDBDatabase::transactionInactiveErrorMessage); 118 exceptionState.throwDOMException(ReadOnlyError, "The record may not be updated inside a read-only transaction."); 123 return objectStore->put(scriptState, WebIDBPutModeCursorUpdate, IDBAny::create(this), value, m_primaryKey, exceptionState); 126 void IDBCursor::advance(unsigned long count, ExceptionState& exceptionState) argument 130 exceptionState 156 continueFunction(ScriptState* scriptState, const ScriptValue& keyValue, ExceptionState& exceptionState) argument 167 continuePrimaryKey(ScriptState* scriptState, const ScriptValue& keyValue, const ScriptValue& primaryKeyValue, ExceptionState& exceptionState) argument 179 continueFunction(IDBKey* key, IDBKey* primaryKey, ExceptionState& exceptionState) argument 229 deleteFunction(ScriptState* scriptState, ExceptionState& exceptionState) argument 367 stringToDirection(const String& directionString, ExceptionState& exceptionState) argument [all...] |
H A D | IDBRequest.cpp | 104 ScriptValue IDBRequest::result(ExceptionState& exceptionState) argument 107 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::requestNotFinishedErrorMessage); 118 PassRefPtrWillBeRawPtr<DOMError> IDBRequest::error(ExceptionState& exceptionState) const 121 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::requestNotFinishedErrorMessage);
|
H A D | IDBTransaction.cpp | 114 IDBObjectStore* IDBTransaction::objectStore(const String& name, ExceptionState& exceptionState) argument 117 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::transactionFinishedErrorMessage); 126 exceptionState.throwDOMException(NotFoundError, IDBDatabase::noSuchObjectStoreErrorMessage); 133 exceptionState.throwDOMException(NotFoundError, IDBDatabase::noSuchObjectStoreErrorMessage); 178 void IDBTransaction::abort(ExceptionState& exceptionState) argument 181 exceptionState.throwDOMException(InvalidStateError, IDBDatabase::transactionFinishedErrorMessage); 279 WebIDBTransactionMode IDBTransaction::stringToMode(const String& modeString, ExceptionState& exceptionState) argument 286 exceptionState.throwTypeError("The mode provided ('" + modeString + "') is not one of 'readonly' or 'readwrite'.");
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
H A D | MediaStream.cpp | 168 void MediaStream::addTrack(MediaStreamTrack* track, ExceptionState& exceptionState) argument 171 exceptionState.throwDOMException(InvalidStateError, "The MediaStream is finished."); 176 exceptionState.throwDOMException(TypeMismatchError, "The MediaStreamTrack provided is invalid."); 196 void MediaStream::removeTrack(MediaStreamTrack* track, ExceptionState& exceptionState) argument 199 exceptionState.throwDOMException(InvalidStateError, "The MediaStream is finished."); 204 exceptionState.throwDOMException(TypeMismatchError, "The MediaStreamTrack provided is invalid.");
|
H A D | RTCDataChannel.cpp | 40 static void throwNotOpenException(ExceptionState& exceptionState) argument 42 exceptionState.throwDOMException(InvalidStateError, "RTCDataChannel.readyState is not 'open'"); 45 static void throwCouldNotSendDataException(ExceptionState& exceptionState) argument 47 exceptionState.throwDOMException(NetworkError, "Could not send data"); 50 static void throwNoBlobSupportException(ExceptionState& exceptionState) argument 52 exceptionState.throwDOMException(NotSupportedError, "Blob support not implemented yet"); 61 RTCDataChannel* RTCDataChannel::create(ExecutionContext* context, RTCPeerConnection* connection, WebRTCPeerConnectionHandler* peerConnectionHandler, const String& label, const WebRTCDataChannelInit& init, ExceptionState& exceptionState) argument 65 exceptionState.throwDOMException(NotSupportedError, "RTCDataChannel is not supported"); 166 void RTCDataChannel::setBinaryType(const String& binaryType, ExceptionState& exceptionState) argument 169 throwNoBlobSupportException(exceptionState); 176 send(const String& data, ExceptionState& exceptionState) argument 188 send(PassRefPtr<ArrayBuffer> prpData, ExceptionState& exceptionState) argument 207 send(PassRefPtr<ArrayBufferView> data, ExceptionState& exceptionState) argument 215 send(PassRefPtrWillBeRawPtr<Blob> data, ExceptionState& exceptionState) argument [all...] |