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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/mediasource/MediaSource.h ('k') | Source/modules/mediasource/SourceBufferList.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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class ExceptionState; 45 class ExceptionState;
46 class FileReaderLoader; 46 class FileReaderLoader;
47 class GenericEventQueue; 47 class GenericEventQueue;
48 class MediaSource; 48 class MediaSource;
49 class Stream; 49 class Stream;
50 class TimeRanges; 50 class TimeRanges;
51 class WebSourceBuffer; 51 class WebSourceBuffer;
52 52
53 class SourceBuffer FINAL : public RefCountedGarbageCollectedWillBeGarbageCollect edFinalized<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineD ata, public FileReaderLoaderClient { 53 class SourceBuffer FINAL : public RefCountedGarbageCollectedWillBeGarbageCollect edFinalized<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineD ata, public FileReaderLoaderClient {
54 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S ourceBuffer>); 54 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<S ourceBuffer>);
55 DEFINE_WRAPPERTYPEINFO();
55 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer); 56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SourceBuffer);
56 public: 57 public:
57 static SourceBuffer* create(PassOwnPtr<WebSourceBuffer>, MediaSource*, Gener icEventQueue*); 58 static SourceBuffer* create(PassOwnPtr<WebSourceBuffer>, MediaSource*, Gener icEventQueue*);
58 static const AtomicString& segmentsKeyword(); 59 static const AtomicString& segmentsKeyword();
59 static const AtomicString& sequenceKeyword(); 60 static const AtomicString& sequenceKeyword();
60 61
61 virtual ~SourceBuffer(); 62 virtual ~SourceBuffer();
62 63
63 // SourceBuffer.idl methods 64 // SourceBuffer.idl methods
64 const AtomicString& mode() const { return m_mode; } 65 const AtomicString& mode() const { return m_mode; }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 136
136 bool m_streamMaxSizeValid; 137 bool m_streamMaxSizeValid;
137 unsigned long long m_streamMaxSize; 138 unsigned long long m_streamMaxSize;
138 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner; 139 AsyncMethodRunner<SourceBuffer> m_appendStreamAsyncPartRunner;
139 RefPtrWillBeMember<Stream> m_stream; 140 RefPtrWillBeMember<Stream> m_stream;
140 OwnPtr<FileReaderLoader> m_loader; 141 OwnPtr<FileReaderLoader> m_loader;
141 }; 142 };
142 143
143 } // namespace blink 144 } // namespace blink
144 145
145 #endif 146 #endif // SourceBuffer_h
OLDNEW
« no previous file with comments | « Source/modules/mediasource/MediaSource.h ('k') | Source/modules/mediasource/SourceBufferList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698