| 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 VideoTrack_h | 5 #ifndef VideoTrack_h |
| 6 #define VideoTrack_h | 6 #define VideoTrack_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 VideoTrack final | 14 class CORE_EXPORT VideoTrack final |
| 15 : public GarbageCollectedFinalized<VideoTrack>, | 15 : public GarbageCollectedFinalized<VideoTrack>, |
| 16 public TrackBase, | 16 public TrackBase, |
| 17 public ScriptWrappable { | 17 public ScriptWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 USING_GARBAGE_COLLECTED_MIXIN(VideoTrack); | 19 USING_GARBAGE_COLLECTED_MIXIN(VideoTrack); |
| 20 | 20 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 bool selected); | 56 bool selected); |
| 57 | 57 |
| 58 bool selected_; | 58 bool selected_; |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 DEFINE_TRACK_TYPE_CASTS(VideoTrack, WebMediaPlayer::kVideoTrack); | 61 DEFINE_TRACK_TYPE_CASTS(VideoTrack, WebMediaPlayer::kVideoTrack); |
| 62 | 62 |
| 63 } // namespace blink | 63 } // namespace blink |
| 64 | 64 |
| 65 #endif // VideoTrack_h | 65 #endif // VideoTrack_h |
| OLD | NEW |