Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: Source/core/html/track/TextTrack.h

Issue 60203008: Remove the mode getter/setter for in-band text tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/html/track/InbandTextTrack.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void setLabel(const AtomicString& label) { m_label = label; } 78 void setLabel(const AtomicString& label) { m_label = label; }
79 79
80 AtomicString language() const { return m_language; } 80 AtomicString language() const { return m_language; }
81 void setLanguage(const AtomicString& language) { m_language = language; } 81 void setLanguage(const AtomicString& language) { m_language = language; }
82 82
83 static const AtomicString& disabledKeyword(); 83 static const AtomicString& disabledKeyword();
84 static const AtomicString& hiddenKeyword(); 84 static const AtomicString& hiddenKeyword();
85 static const AtomicString& showingKeyword(); 85 static const AtomicString& showingKeyword();
86 86
87 AtomicString mode() const { return m_mode; } 87 AtomicString mode() const { return m_mode; }
88 virtual void setMode(const AtomicString&); 88 void setMode(const AtomicString&);
89 89
90 enum ReadinessState { NotLoaded = 0, Loading = 1, Loaded = 2, FailedToLoad = 3 }; 90 enum ReadinessState { NotLoaded = 0, Loading = 1, Loaded = 2, FailedToLoad = 3 };
91 ReadinessState readinessState() const { return m_readinessState; } 91 ReadinessState readinessState() const { return m_readinessState; }
92 void setReadinessState(ReadinessState state) { m_readinessState = state; } 92 void setReadinessState(ReadinessState state) { m_readinessState = state; }
93 93
94 TextTrackCueList* cues(); 94 TextTrackCueList* cues();
95 TextTrackCueList* activeCues() const; 95 TextTrackCueList* activeCues() const;
96 96
97 void clearClient() { m_client = 0; } 97 void clearClient() { m_client = 0; }
98 TextTrackClient* client() { return m_client; } 98 TextTrackClient* client() { return m_client; }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 TextTrackType m_trackType; 156 TextTrackType m_trackType;
157 ReadinessState m_readinessState; 157 ReadinessState m_readinessState;
158 int m_trackIndex; 158 int m_trackIndex;
159 int m_renderedTrackIndex; 159 int m_renderedTrackIndex;
160 bool m_hasBeenConfigured; 160 bool m_hasBeenConfigured;
161 }; 161 };
162 162
163 } // namespace WebCore 163 } // namespace WebCore
164 164
165 #endif 165 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/InbandTextTrack.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698