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

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/BlobEvent.h

Issue 2610163006: MediaRecorder: support |timecode| and remove |m_ignoreMutedMedia|. (Closed)
Patch Set: Rebase video_capture_device_client.cc Created 3 years, 11 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
Index: third_party/WebKit/Source/modules/mediarecorder/BlobEvent.h
diff --git a/third_party/WebKit/Source/modules/mediarecorder/BlobEvent.h b/third_party/WebKit/Source/modules/mediarecorder/BlobEvent.h
index 09a24c3576c3677872e56ab99b8ca9845e0b9117..5535c12be1d9c04de1fccfcc695ef72af2d9e617 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/BlobEvent.h
+++ b/third_party/WebKit/Source/modules/mediarecorder/BlobEvent.h
@@ -5,6 +5,7 @@
#ifndef BlobEvent_h
#define BlobEvent_h
+#include "core/dom/DOMHighResTimeStamp.h"
#include "core/fileapi/Blob.h"
#include "modules/EventModules.h"
#include "modules/ModulesExport.h"
@@ -23,9 +24,10 @@ class MODULES_EXPORT BlobEvent final : public Event {
static BlobEvent* create(const AtomicString& type,
const BlobEventInit& initializer);
- static BlobEvent* create(const AtomicString& type, Blob*);
+ static BlobEvent* create(const AtomicString& type, Blob*, double);
Blob* data() const { return m_blob.get(); }
+ DOMHighResTimeStamp timecode() const { return m_timecode; }
// Event
const AtomicString& interfaceName() const final;
@@ -34,9 +36,10 @@ class MODULES_EXPORT BlobEvent final : public Event {
private:
BlobEvent(const AtomicString& type, const BlobEventInit& initializer);
- BlobEvent(const AtomicString& type, Blob*);
+ BlobEvent(const AtomicString& type, Blob*, double);
Member<Blob> m_blob;
+ DOMHighResTimeStamp m_timecode;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698