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

Unified Diff: Source/core/platform/graphics/GenericCueData.h

Issue 13968007: Create WebInbandTextTrack and WebInbandTextTrackClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporate aaron's comments Created 7 years, 8 months 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
Index: Source/core/platform/graphics/GenericCueData.h
diff --git a/Source/core/platform/graphics/InbandTextTrackPrivateClient.h b/Source/core/platform/graphics/GenericCueData.h
similarity index 89%
copy from Source/core/platform/graphics/InbandTextTrackPrivateClient.h
copy to Source/core/platform/graphics/GenericCueData.h
index 0db04423dc5fa5b862f8579630996730ee34ef3d..6590e17efc297907d449bc03f8ef765325e8ddd1 100644
--- a/Source/core/platform/graphics/InbandTextTrackPrivateClient.h
+++ b/Source/core/platform/graphics/GenericCueData.h
@@ -23,8 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef InbandTextTrackPrivateClient_h
-#define InbandTextTrackPrivateClient_h
+#ifndef GenericCueData_h
+#define GenericCueData_h
#include "Color.h"
#include <wtf/Noncopyable.h>
@@ -32,8 +32,6 @@
namespace WebCore {
-class InbandTextTrackPrivate;
-
class GenericCueData {
WTF_MAKE_NONCOPYABLE(GenericCueData); WTF_MAKE_FAST_ALLOCATED;
public:
@@ -111,14 +109,6 @@ private:
Color m_backgroundColor;
};
-class InbandTextTrackPrivateClient {
-public:
- virtual ~InbandTextTrackPrivateClient() { }
-
- virtual void addWebVTTCue(InbandTextTrackPrivate*, double /*start*/, double /*end*/, const String& /*id*/, const String& /*content*/, const String& /*settings*/) = 0;
- virtual void addGenericCue(InbandTextTrackPrivate*, GenericCueData*) = 0;
-};
-
} // namespace WebCore
#endif

Powered by Google App Engine
This is Rietveld 408576698