[haiku-webkit-commits] r349 - webkit/trunk/WebKit/haiku/API

  • From: webkit@xxxxxxxxxxxxxxx
  • To: haiku-webkit-commits@xxxxxxxxxxxxx
  • Date: Wed, 24 Mar 2010 18:41:05 +0000

Author: stippi
Date: Wed Mar 24 18:41:05 2010
New Revision: 349
URL: http://mmlr.dyndns.org/changeset/349

Log:
Send current and expected size along in the progress notification message.

Modified:
   webkit/trunk/WebKit/haiku/API/WebDownloadPrivate.cpp

Modified: webkit/trunk/WebKit/haiku/API/WebDownloadPrivate.cpp
==============================================================================
--- webkit/trunk/WebKit/haiku/API/WebDownloadPrivate.cpp        Tue Mar 23 
15:37:01 2010        (r348)
+++ webkit/trunk/WebKit/haiku/API/WebDownloadPrivate.cpp        Wed Mar 24 
18:41:05 2010        (r349)
@@ -109,6 +109,8 @@
     // FIXME: Report total size update, if m_currentSize greater than previous 
total size
     BMessage message(B_DOWNLOAD_PROGRESS);
     message.AddFloat("progress", m_currentSize * 100.0 / m_expectedSize);
+    message.AddInt64("current size", m_currentSize);
+    message.AddInt64("expected size", m_expectedSize);
     m_progressListener.SendMessage(&message);
 }
 

Other related posts:

  • » [haiku-webkit-commits] r349 - webkit/trunk/WebKit/haiku/API - webkit