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.h41 …<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsi…
43 return adoptRef(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
58 …XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long lo… in XMLHttpRequestProgressEvent() argument
59 : ProgressEvent(type, lengthComputable, loaded, total) in XMLHttpRequestProgressEvent()
DXMLHttpRequestProgressEventThrottle.cpp51 void XMLHttpRequestProgressEventThrottle::dispatchProgressEvent(bool lengthComputable, unsigned lon… in dispatchProgressEvent() argument
55 …ent = XMLHttpRequestProgressEvent::create(EventTypeNames::progress, lengthComputable, loaded, tota… in dispatchProgressEvent()
67 …Event(XMLHttpRequestProgressEvent::create(EventTypeNames::progress, lengthComputable, loaded, tota… in dispatchProgressEvent()
73 m_lengthComputable = lengthComputable; in dispatchProgressEvent()
101 …entThrottle::dispatchEventAndLoadEnd(const AtomicString& type, bool lengthComputable, unsigned lon… in dispatchEventAndLoadEnd() argument
105 dispatchEvent(XMLHttpRequestProgressEvent::create(type, lengthComputable, bytesSent, total)); in dispatchEventAndLoadEnd()
106 …dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::loadend, lengthComputable, bytes… in dispatchEventAndLoadEnd()
DXMLHttpRequestProgressEventThrottle.h53 …void dispatchProgressEvent(bool lengthComputable, unsigned long long loaded, unsigned long long to…
DXMLHttpRequest.cpp988 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength; in dispatchEventAndLoadEnd() local
990 … unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0; in dispatchEventAndLoadEnd()
992 m_progressEventThrottle.dispatchEventAndLoadEnd(type, lengthComputable, loaded, total); in dispatchEventAndLoadEnd()
997 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength; in dispatchThrottledProgressEvent() local
999 … unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0; in dispatchThrottledProgressEvent()
1002 m_progressEventThrottle.dispatchProgressEvent(lengthComputable, loaded, total); in dispatchThrottledProgressEvent()
1004 …entThrottle.dispatchEvent(XMLHttpRequestProgressEvent::create(type, lengthComputable, loaded, tota… in dispatchThrottledProgressEvent()
/external/chromium_org/third_party/WebKit/Source/core/events/
DProgressEvent.h36 bool lengthComputable; member
47 …static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned … in create() argument
49 return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total)); in create()
56 bool lengthComputable() const { return m_lengthComputable; } in lengthComputable() function
64 …ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned…
DProgressEvent.cpp34 : lengthComputable(false) in ProgressEventInit()
50 , m_lengthComputable(initializer.lengthComputable) in ProgressEvent()
57 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long lo… in ProgressEvent() argument
59 , m_lengthComputable(lengthComputable) in ProgressEvent()
DResourceProgressEvent.h51 …static PassRefPtr<ResourceProgressEvent> create(const AtomicString& type, bool lengthComputable, u… in create() argument
53 return adoptRef(new ResourceProgressEvent(type, lengthComputable, loaded, total, url)); in create()
62 …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/gonacl_appengine/static/bullet/
Dmain.js25 if (event.lengthComputable && event.total > 0) {
/external/chromium_org/native_client_sdk/src/examples/tutorial/load_progress/
Dexample.js39 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/earth/
Dexample.js153 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/third_party/WebKit/Source/devtools/front_end/
DFileUtils.js268 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.rst199 uses the ``lengthComputable``, ``loaded``, and ``total`` attributes (described
209 if (event.lengthComputable && event.total > 0) {