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

Unified Diff: public/web/WebInbandTextTrack.h

Issue 61763010: Move WebInbandTextTrack/WebInbandTextTrackClient to public/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: simplify 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebInbandTextTrackClient.h ('k') | public/web/WebInbandTextTrackClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebInbandTextTrack.h
diff --git a/public/web/WebInbandTextTrack.h b/public/web/WebInbandTextTrack.h
index 3aaf8b8bcae7534b54dca7ab5312c1f71cca6485..6cd19e9c4654c5707b0f1ef0918b2eb71575848e 100644
--- a/public/web/WebInbandTextTrack.h
+++ b/public/web/WebInbandTextTrack.h
@@ -28,44 +28,4 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebInbandTextTrack_h
-#define WebInbandTextTrack_h
-
-namespace blink {
-
-class WebString;
-class WebInbandTextTrackClient;
-
-class WebInbandTextTrack {
-public:
- enum Kind {
- KindSubtitles,
- KindCaptions,
- KindDescriptions,
- KindChapters,
- KindMetadata,
- KindNone
- };
-
- // FIXME: Remove after Chromium's use in WebInbandTextTrackImpl has been removed.
- enum Mode {
- ModeDisabled,
- ModeHidden,
- ModeShowing
- };
-
- virtual ~WebInbandTextTrack() {}
-
- virtual void setClient(WebInbandTextTrackClient*) = 0;
- virtual WebInbandTextTrackClient* client() = 0;
-
- virtual Kind kind() const = 0;
- virtual WebString label() const = 0;
- virtual WebString language() const = 0;
-
- virtual int textTrackIndex() const = 0;
-};
-
-} // namespace blink
-
-#endif
+#include "public/platform/WebInbandTextTrack.h"
« no previous file with comments | « public/platform/WebInbandTextTrackClient.h ('k') | public/web/WebInbandTextTrackClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698