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

Side by Side Diff: Source/web/InbandTextTrackPrivateImpl.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/web/AssertMatchingEnums.cpp ('k') | Source/web/InbandTextTrackPrivateImpl.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 30 matching lines...) Expand all
41 namespace WebKit { 41 namespace WebKit {
42 42
43 class WebInbandTextTrack; 43 class WebInbandTextTrack;
44 44
45 class InbandTextTrackPrivateImpl : public WebCore::InbandTextTrackPrivate, 45 class InbandTextTrackPrivateImpl : public WebCore::InbandTextTrackPrivate,
46 public WebInbandTextTrackClient { 46 public WebInbandTextTrackClient {
47 public: 47 public:
48 explicit InbandTextTrackPrivateImpl(WebInbandTextTrack*); 48 explicit InbandTextTrackPrivateImpl(WebInbandTextTrack*);
49 virtual ~InbandTextTrackPrivateImpl(); 49 virtual ~InbandTextTrackPrivateImpl();
50 50
51 // InbandTextTrackPrivate methods.
52 virtual void setMode(Mode);
53 virtual InbandTextTrackPrivate::Mode mode() const;
54
55 virtual Kind kind() const; 51 virtual Kind kind() const;
56
57 virtual AtomicString label() const; 52 virtual AtomicString label() const;
58 virtual AtomicString language() const; 53 virtual AtomicString language() const;
59 54
60 virtual int textTrackIndex() const; 55 virtual int textTrackIndex() const;
61 56
62 // WebInbandTextTrackClient methods. 57 // WebInbandTextTrackClient methods.
63 virtual void addWebVTTCue(double start, 58 virtual void addWebVTTCue(double start,
64 double end, 59 double end,
65 const WebString& id, 60 const WebString& id,
66 const WebString& content, 61 const WebString& content,
67 const WebString& settings); 62 const WebString& settings);
68 63
69 private: 64 private:
70 WebInbandTextTrack* m_track; 65 WebInbandTextTrack* m_track;
71 }; 66 };
72 67
73 } 68 }
74 69
75 #endif 70 #endif
OLDNEW
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/InbandTextTrackPrivateImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698