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

Unified Diff: Source/modules/mediarecorder/MediaRecorderErrorEvent.cpp

Issue 1255873002: MediaRecorder Blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: esprehn@ last comments Created 5 years, 3 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: Source/modules/mediarecorder/MediaRecorderErrorEvent.cpp
diff --git a/Source/modules/mediarecorder/MediaRecorderErrorEvent.cpp b/Source/modules/mediarecorder/MediaRecorderErrorEvent.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..88f5add496c319793e1bf046158c011006ac3a55
--- /dev/null
+++ b/Source/modules/mediarecorder/MediaRecorderErrorEvent.cpp
@@ -0,0 +1,35 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+
+#include "modules/mediarecorder/MediaRecorderErrorEvent.h"
+
+namespace blink {
+
+// static
+PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create()
+{
+ return adoptRefWillBeNoop(new MediaRecorderErrorEvent);
+}
+
+// static
+PassRefPtrWillBeRawPtr<MediaRecorderErrorEvent> MediaRecorderErrorEvent::create(const AtomicString& type, bool canBubble, bool cancelable, const String& name, const String& message)
+{
+ return adoptRefWillBeNoop(new MediaRecorderErrorEvent(type, canBubble, cancelable, name, message));
+}
+
+const AtomicString& MediaRecorderErrorEvent::interfaceName() const
+{
+ return EventNames::MediaRecorderErrorEvent;
+}
+
+MediaRecorderErrorEvent::MediaRecorderErrorEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& name, const String& message)
+ : Event(type, canBubble, cancelable)
+ , m_name(name)
+ , m_message(message)
+{
+}
+
+} // namespace blink
« no previous file with comments | « Source/modules/mediarecorder/MediaRecorderErrorEvent.h ('k') | Source/modules/mediarecorder/MediaRecorderErrorEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698