OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 USING_GARBAGE_COLLECTED_MIXIN(AudioScheduledSourceNode); | 125 USING_GARBAGE_COLLECTED_MIXIN(AudioScheduledSourceNode); |
126 public: | 126 public: |
127 void start(ExceptionState&); | 127 void start(ExceptionState&); |
128 void start(double when, ExceptionState&); | 128 void start(double when, ExceptionState&); |
129 void stop(ExceptionState&); | 129 void stop(ExceptionState&); |
130 void stop(double when, ExceptionState&); | 130 void stop(double when, ExceptionState&); |
131 | 131 |
132 EventListener* onended(); | 132 EventListener* onended(); |
133 void setOnended(EventListener*); | 133 void setOnended(EventListener*); |
134 | 134 |
135 // ActiveScriptWrappable | 135 // ScriptWrappable: |
136 bool hasPendingActivity() const final; | 136 bool hasPendingActivity() const final; |
137 | 137 |
138 DEFINE_INLINE_VIRTUAL_TRACE() { AudioSourceNode::trace(visitor); } | 138 DEFINE_INLINE_VIRTUAL_TRACE() { AudioSourceNode::trace(visitor); } |
139 | 139 |
140 protected: | 140 protected: |
141 explicit AudioScheduledSourceNode(BaseAudioContext&); | 141 explicit AudioScheduledSourceNode(BaseAudioContext&); |
142 AudioScheduledSourceHandler& audioScheduledSourceHandler() const; | 142 AudioScheduledSourceHandler& audioScheduledSourceHandler() const; |
143 }; | 143 }; |
144 | 144 |
145 } // namespace blink | 145 } // namespace blink |
146 | 146 |
147 #endif // AudioScheduledSourceNode_h | 147 #endif // AudioScheduledSourceNode_h |
OLD | NEW |