Index: Source/core/html/track/TextTrackKindUserPreference.h |
diff --git a/Source/core/html/track/TextTrackKindUserPreference.h b/Source/core/html/track/TextTrackKindUserPreference.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b539b67d19a5adb0f87cb4c24fc0e559601f4e17 |
--- /dev/null |
+++ b/Source/core/html/track/TextTrackKindUserPreference.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef TextTrackKindUserPreference_h |
+#define TextTrackKindUserPreference_h |
+ |
+namespace blink { |
+ |
+// Defines user preference for text track kind. |
+enum class TextTrackKindUserPreference { |
+ // Display only tracks marked as default. |
+ Default, |
+ // Display caption tracks if available and if not display subtitles in preferred language. |
philipj_slow
2015/07/09 15:34:09
So now I've read the code again, and I can't see a
srivats
2015/07/09 21:25:37
Done.
|
+ Captions, |
+ // Display subtitle tracks if available. |
+ Subtitles |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // TextTrackKindUserPreference_h |