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

Side by Side Diff: third_party/WebKit/Source/modules/mediarecorder/BlobEvent.cpp

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 #include "modules/mediarecorder/BlobEvent.h" 6 #include "modules/mediarecorder/BlobEvent.h"
7 7
8 #include "modules/mediarecorder/BlobEventInit.h" 8 #include "modules/mediarecorder/BlobEventInit.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // static 12 // static
13 BlobEvent* BlobEvent::create()
14 {
15 return new BlobEvent;
16 }
17
18 // static
19 BlobEvent* BlobEvent::create(const AtomicString& type, const BlobEventInit& init ializer) 13 BlobEvent* BlobEvent::create(const AtomicString& type, const BlobEventInit& init ializer)
20 { 14 {
21 return new BlobEvent(type, initializer); 15 return new BlobEvent(type, initializer);
22 } 16 }
23 17
24 // static 18 // static
25 BlobEvent* BlobEvent::create(const AtomicString& type, Blob* blob) 19 BlobEvent* BlobEvent::create(const AtomicString& type, Blob* blob)
26 { 20 {
27 return new BlobEvent(type, blob); 21 return new BlobEvent(type, blob);
28 } 22 }
(...skipping 15 matching lines...) Expand all
44 { 38 {
45 } 39 }
46 40
47 BlobEvent::BlobEvent(const AtomicString& type, Blob* blob) 41 BlobEvent::BlobEvent(const AtomicString& type, Blob* blob)
48 : Event(type, false /* canBubble */, false /* cancelable */) 42 : Event(type, false /* canBubble */, false /* cancelable */)
49 , m_blob(blob) 43 , m_blob(blob)
50 { 44 {
51 } 45 }
52 46
53 } // namespace blink 47 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698