| 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" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "core/html/track/TrackBase.h" | 10 #include "core/html/track/TrackBase.h" |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 private: | 43 private: |
| 44 VideoTrack(const String& id, const AtomicString& kind, const AtomicString& l
abel, const AtomicString& language, bool selected); | 44 VideoTrack(const String& id, const AtomicString& kind, const AtomicString& l
abel, const AtomicString& language, bool selected); |
| 45 | 45 |
| 46 // TrackBase | 46 // TrackBase |
| 47 bool isValidKind(const AtomicString& kind) const override { return isValidKi
ndKeyword(kind); } | 47 bool isValidKind(const AtomicString& kind) const override { return isValidKi
ndKeyword(kind); } |
| 48 AtomicString defaultKind() const override; | 48 AtomicString defaultKind() const override; |
| 49 | 49 |
| 50 bool m_selected; | 50 bool m_selected; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 DEFINE_TRACK_TYPE_CASTS(VideoTrack, TrackBase::VideoTrack); | 53 DEFINE_TRACK_TYPE_CASTS(VideoTrack, WebMediaPlayer::VideoTrack); |
| 54 | 54 |
| 55 } // namespace blink | 55 } // namespace blink |
| 56 | 56 |
| 57 #endif // VideoTrack_h | 57 #endif // VideoTrack_h |
| OLD | NEW |