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

Side by Side Diff: Source/modules/mediasource/MediaSource.h

Issue 1163253003: Clean up macros around DEFINE_EVENT_TARGET_REFCOUNTING (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.h ('k') | Source/modules/mediasource/SourceBuffer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 namespace blink { 44 namespace blink {
45 45
46 class ExceptionState; 46 class ExceptionState;
47 class GenericEventQueue; 47 class GenericEventQueue;
48 class WebSourceBuffer; 48 class WebSourceBuffer;
49 49
50 class MediaSource final 50 class MediaSource final
51 : public RefCountedGarbageCollectedEventTargetWithInlineData<MediaSource> 51 : public RefCountedGarbageCollectedEventTargetWithInlineData<MediaSource>
52 , public HTMLMediaSource 52 , public HTMLMediaSource
53 , public ActiveDOMObject { 53 , public ActiveDOMObject {
54 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<M ediaSource>); 54 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(MediaSource);
55 DEFINE_WRAPPERTYPEINFO(); 55 DEFINE_WRAPPERTYPEINFO();
56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaSource); 56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaSource);
57 public: 57 public:
58 static const AtomicString& openKeyword(); 58 static const AtomicString& openKeyword();
59 static const AtomicString& closedKeyword(); 59 static const AtomicString& closedKeyword();
60 static const AtomicString& endedKeyword(); 60 static const AtomicString& endedKeyword();
61 61
62 static MediaSource* create(ExecutionContext*); 62 static MediaSource* create(ExecutionContext*);
63 virtual ~MediaSource(); 63 virtual ~MediaSource();
64 64
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 Member<SourceBufferList> m_sourceBuffers; 133 Member<SourceBufferList> m_sourceBuffers;
134 Member<SourceBufferList> m_activeSourceBuffers; 134 Member<SourceBufferList> m_activeSourceBuffers;
135 135
136 bool m_isAddedToRegistry; 136 bool m_isAddedToRegistry;
137 }; 137 };
138 138
139 } // namespace blink 139 } // namespace blink
140 140
141 #endif // MediaSource_h 141 #endif // MediaSource_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBTransaction.h ('k') | Source/modules/mediasource/SourceBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698