Home
last modified time | relevance | path

Searched refs:lengthComputable (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLHttpRequestUpload.cpp61 void XMLHttpRequestUpload::dispatchEventAndLoadEnd(const AtomicString& type, bool lengthComputable,… in dispatchEventAndLoadEnd() argument
64 dispatchEvent(XMLHttpRequestProgressEvent::create(type, lengthComputable, bytesSent, total)); in dispatchEventAndLoadEnd()
65 …dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::loadend, lengthComputable, bytes… in dispatchEventAndLoadEnd()
70 …bool lengthComputable = m_lastTotalBytesToBeSent > 0 && m_lastBytesSent <= m_lastTotalBytesToBeSen… in handleRequestError() local
71 …dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::progress, lengthComputable, m_la… in handleRequestError()
72 dispatchEventAndLoadEnd(type, lengthComputable, m_lastBytesSent, m_lastTotalBytesToBeSent); in handleRequestError()
DXMLHttpRequestProgressEvent.h40 …<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsi…
42 … return adoptRefWillBeNoop(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
59 …XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long lo… in XMLHttpRequestProgressEvent() argument
60 : ProgressEvent(type, lengthComputable, loaded, total) in XMLHttpRequestProgressEvent()
DXMLHttpRequestProgressEventThrottle.cpp51 …EventThrottle::dispatchProgressEvent(const AtomicString& type, bool lengthComputable, unsigned lon… in dispatchProgressEvent() argument
53 …essEvent> progressEvent = XMLHttpRequestProgressEvent::create(type, lengthComputable, loaded, tota… in dispatchProgressEvent()
80 m_lengthComputable = lengthComputable; in dispatchProgressEvent()
DXMLHttpRequestProgressEventThrottle.h63 …void dispatchProgressEvent(const AtomicString&, bool lengthComputable, unsigned long long loaded, …
DXMLHttpRequest.cpp1031 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength; in dispatchProgressEvent() local
1033 … unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0; in dispatchProgressEvent()
1035 m_progressEventThrottle.dispatchProgressEvent(type, lengthComputable, loaded, total); in dispatchProgressEvent()
/external/chromium_org/third_party/WebKit/Source/core/events/
DProgressEvent.h36 bool lengthComputable; member
47 …trWillBeRawPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned lon… in create() argument
49 return adoptRefWillBeNoop(new ProgressEvent(type, lengthComputable, loaded, total)); in create()
56 bool lengthComputable() const { return m_lengthComputable; } in lengthComputable() function
66 …ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned…
DProgressEvent.cpp32 : lengthComputable(false) in ProgressEventInit()
48 , m_lengthComputable(initializer.lengthComputable) in ProgressEvent()
55 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long lo… in ProgressEvent() argument
57 , m_lengthComputable(lengthComputable) in ProgressEvent()
DResourceProgressEvent.h51 …RawPtr<ResourceProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned lon… in create() argument
53 … return adoptRefWillBeNoop(new ResourceProgressEvent(type, lengthComputable, loaded, total, url)); in create()
64 …ResourceProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, …
DResourceProgressEvent.cpp37 ResourceProgressEvent::ResourceProgressEvent(const AtomicString& type, bool lengthComputable, unsig… in ResourceProgressEvent() argument
38 : ProgressEvent(type, lengthComputable, loaded, total) in ResourceProgressEvent()
DProgressEvent.idl29 [InitializedByEventConstructor] readonly attribute boolean lengthComputable;
/external/chromium_org/ppapi/native_client/tests/ppapi_browser/
Dprogress_event_listener.js61 if (event.type == 'progress' && event.lengthComputable) {
65 } else if (event.type == 'loadend' && event.lengthComputable) {
/external/chromium_org/native_client_sdk/src/examples/tutorial/load_progress/
Dexample.js39 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
Dmain.js25 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/
Dprogress_manager.js114 if (e.lengthComputable)
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/life/
Dexample.js160 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/voronoi/
Dexample.js164 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/cube/
Dexample.js152 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/earth/
Dexample.js153 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DFileUtils.js269 if (event.lengthComputable)
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/
Dexample.js187 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/lua/
Dnaclterm.js146 if (e.lengthComputable && e.total > 0) {
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Dprogress-events.rst205 uses the ``lengthComputable``, ``loaded``, and ``total`` attributes (described
215 if (event.lengthComputable && event.total > 0) {