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

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

Issue 2265873003: binding: Moves hasPendingActivity from ActiveScriptWrappable to ScriptWrappable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. 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 /* 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort); 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
97 TrackDefaultList* trackDefaults() const { return m_trackDefaults.get(); } 97 TrackDefaultList* trackDefaults() const { return m_trackDefaults.get(); }
98 void setTrackDefaults(TrackDefaultList*, ExceptionState&); 98 void setTrackDefaults(TrackDefaultList*, ExceptionState&);
99 99
100 AudioTrackList& audioTracks(); 100 AudioTrackList& audioTracks();
101 VideoTrackList& videoTracks(); 101 VideoTrackList& videoTracks();
102 102
103 void removedFromMediaSource(); 103 void removedFromMediaSource();
104 double highestPresentationTimestamp(); 104 double highestPresentationTimestamp();
105 105
106 // ActiveScriptWrappable 106 // ScriptWrappable
107 bool hasPendingActivity() const final; 107 bool hasPendingActivity() const final;
108 108
109 // ActiveDOMObject interface 109 // ActiveDOMObject
110 void suspend() override; 110 void suspend() override;
111 void resume() override; 111 void resume() override;
112 void stop() override; 112 void stop() override;
113 113
114 // EventTarget interface 114 // EventTarget interface
115 ExecutionContext* getExecutionContext() const override; 115 ExecutionContext* getExecutionContext() const override;
116 const AtomicString& interfaceName() const override; 116 const AtomicString& interfaceName() const override;
117 117
118 // WebSourceBufferClient interface 118 // WebSourceBufferClient interface
119 bool initializationSegmentReceived(const WebVector<MediaTrackInfo>&) overrid e; 119 bool initializationSegmentReceived(const WebVector<MediaTrackInfo>&) overrid e;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 bool m_streamMaxSizeValid; 192 bool m_streamMaxSizeValid;
193 unsigned long long m_streamMaxSize; 193 unsigned long long m_streamMaxSize;
194 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner; 194 Member<AsyncMethodRunner<SourceBuffer>> m_appendStreamAsyncPartRunner;
195 Member<Stream> m_stream; 195 Member<Stream> m_stream;
196 std::unique_ptr<FileReaderLoader> m_loader; 196 std::unique_ptr<FileReaderLoader> m_loader;
197 }; 197 };
198 198
199 } // namespace blink 199 } // namespace blink
200 200
201 #endif // SourceBuffer_h 201 #endif // SourceBuffer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698