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

Side by Side Diff: third_party/WebKit/Source/modules/mediasource/MediaSource.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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void close() override; 91 void close() override;
92 bool isClosed() const override; 92 bool isClosed() const override;
93 double duration() const override; 93 double duration() const override;
94 TimeRanges* buffered() const override; 94 TimeRanges* buffered() const override;
95 TimeRanges* seekable() const override; 95 TimeRanges* seekable() const override;
96 96
97 // EventTarget interface 97 // EventTarget interface
98 const AtomicString& interfaceName() const override; 98 const AtomicString& interfaceName() const override;
99 ExecutionContext* getExecutionContext() const override; 99 ExecutionContext* getExecutionContext() const override;
100 100
101 // ActiveScriptWrappable 101 // ScriptWrappable
102 bool hasPendingActivity() const final; 102 bool hasPendingActivity() const final;
103 103
104 // ActiveDOMObject interface 104 // ActiveDOMObject interface
105 void stop() override; 105 void stop() override;
106 106
107 // URLRegistrable interface 107 // URLRegistrable interface
108 URLRegistry& registry() const override; 108 URLRegistry& registry() const override;
109 109
110 // Used by SourceBuffer. 110 // Used by SourceBuffer.
111 void openIfInEndedState(); 111 void openIfInEndedState();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 Member<SourceBufferList> m_activeSourceBuffers; 144 Member<SourceBufferList> m_activeSourceBuffers;
145 145
146 Member<TimeRanges> m_liveSeekableRange; 146 Member<TimeRanges> m_liveSeekableRange;
147 147
148 int m_addedToRegistryCounter; 148 int m_addedToRegistryCounter;
149 }; 149 };
150 150
151 } // namespace blink 151 } // namespace blink
152 152
153 #endif // MediaSource_h 153 #endif // MediaSource_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698