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

Side by Side Diff: Source/modules/mediastream/BlobEvent.h

Issue 1255873002: MediaRecorder Blink part (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BlobEvent_h
6 #define BlobEvent_h
7
8 #include "modules/EventModules.h"
9 #include "modules/ModulesExport.h"
10 #include "wtf/text/AtomicString.h"
11
12 namespace blink {
13
14 class Blob;
15
16 class MODULES_EXPORT BlobEvent final : public Event {
17 DEFINE_WRAPPERTYPEINFO();
18 public:
19 virtual ~BlobEvent();
20
21 static PassRefPtrWillBeRawPtr<BlobEvent> create();
Peter Beverloo 2015/07/29 16:54:22 nit: Given that they're trivial, you could inline
mcasas 2015/07/30 13:20:36 Done.
22 static PassRefPtrWillBeRawPtr<BlobEvent> create(const AtomicString& type, bo ol canBubble, bool cancelable, Blob*);
23
24 Blob* data() const { return m_blob.get(); }
25
26 // Event
27 virtual const AtomicString& interfaceName() const override;
28
29 DECLARE_VIRTUAL_TRACE();
30
31 private:
32 BlobEvent();
33 BlobEvent(const AtomicString& type, bool canBubble, bool cancelable, Blob*);
34
35 PersistentWillBeMember<Blob> m_blob;
36 };
37
38 } // namespace blink
39
40 #endif // BlobEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698