| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 AutomaticTrackSelection_h | 5 #ifndef AutomaticTrackSelection_h |
| 6 #define AutomaticTrackSelection_h | 6 #define AutomaticTrackSelection_h |
| 7 | 7 |
| 8 #include "core/html/track/TextTrackKindUserPreference.h" | 8 #include "core/html/track/TextTrackKindUserPreference.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class TextTrackList; | 14 class TextTrackList; |
| 15 class TrackGroup; | 15 class TrackGroup; |
| 16 | 16 |
| 17 class AutomaticTrackSelection { | 17 class AutomaticTrackSelection { |
| 18 STACK_ALLOCATED(); | 18 STACK_ALLOCATED(); |
| 19 | 19 |
| 20 public: | 20 public: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 void PerformAutomaticTextTrackSelection(const TrackGroup&); | 39 void PerformAutomaticTextTrackSelection(const TrackGroup&); |
| 40 void EnableDefaultMetadataTextTracks(const TrackGroup&); | 40 void EnableDefaultMetadataTextTracks(const TrackGroup&); |
| 41 const AtomicString& PreferredTrackKind() const; | 41 const AtomicString& PreferredTrackKind() const; |
| 42 | 42 |
| 43 const Configuration configuration_; | 43 const Configuration configuration_; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // AutomaticTrackSelection_h | 48 #endif // AutomaticTrackSelection_h |
| OLD | NEW |