| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef AudioTrack_h | 5 #ifndef AudioTrack_h |
| 6 #define AudioTrack_h | 6 #define AudioTrack_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 10 #include "core/html/track/TrackBase.h" | 9 #include "core/html/track/TrackBase.h" |
| 10 #include "platform/bindings/ScriptWrappable.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CORE_EXPORT AudioTrack final | 14 class CORE_EXPORT AudioTrack final |
| 15 : public GarbageCollectedFinalized<AudioTrack>, | 15 : public GarbageCollectedFinalized<AudioTrack>, |
| 16 public TrackBase, | 16 public TrackBase, |
| 17 public ScriptWrappable { | 17 public ScriptWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 USING_GARBAGE_COLLECTED_MIXIN(AudioTrack); | 19 USING_GARBAGE_COLLECTED_MIXIN(AudioTrack); |
| 20 | 20 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 bool enabled); | 52 bool enabled); |
| 53 | 53 |
| 54 bool enabled_; | 54 bool enabled_; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 DEFINE_TRACK_TYPE_CASTS(AudioTrack, WebMediaPlayer::kAudioTrack); | 57 DEFINE_TRACK_TYPE_CASTS(AudioTrack, WebMediaPlayer::kAudioTrack); |
| 58 | 58 |
| 59 } // namespace blink | 59 } // namespace blink |
| 60 | 60 |
| 61 #endif // AudioTrack_h | 61 #endif // AudioTrack_h |
| OLD | NEW |