Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: Source/WebKit/chromium/public/WebDOMProgressEvent.h

Issue 14773025: Create ResourceProgressEvent, expose as Chromium API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: merge Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/WebKit.gyp ('k') | Source/WebKit/chromium/public/WebDOMResourceProgressEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebDOMProgressEvent.h
diff --git a/Source/WebKit/chromium/public/WebMediaSource.h b/Source/WebKit/chromium/public/WebDOMProgressEvent.h
similarity index 83%
copy from Source/WebKit/chromium/public/WebMediaSource.h
copy to Source/WebKit/chromium/public/WebDOMProgressEvent.h
index 46776b9d618c8f01b572b13e98f582b022d800ce..e9b092132de5ad2ab34f14b5c498a5aa30305290 100644
--- a/Source/WebKit/chromium/public/WebMediaSource.h
+++ b/Source/WebKit/chromium/public/WebDOMProgressEvent.h
@@ -28,20 +28,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebMediaSource_h
-#define WebMediaSource_h
+#ifndef WebDOMProgressEvent_h
+#define WebDOMProgressEvent_h
-#include "../../../../public/platform/WebURL.h"
-#include "WebTimeRange.h"
+#include "WebDOMEvent.h"
namespace WebKit {
-class WebMediaSourceClient;
+class WebString;
-class WebMediaSource {
+class WebDOMProgressEvent : public WebDOMEvent {
public:
- virtual ~WebMediaSource() { };
- virtual void open(WebMediaSourceClient*) = 0;
+ WebDOMProgressEvent() { }
+ WEBKIT_EXPORT WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total);
};
} // namespace WebKit
« no previous file with comments | « Source/WebKit/chromium/WebKit.gyp ('k') | Source/WebKit/chromium/public/WebDOMResourceProgressEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698