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

Unified Diff: Source/core/html/track/vtt/VTTCue.h

Issue 102073002: Remove TextTrackCueBox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: inline pseudo id Created 7 years 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 | « Source/core/html/track/TextTrackCue.cpp ('k') | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/vtt/VTTCue.h
diff --git a/Source/core/html/track/vtt/VTTCue.h b/Source/core/html/track/vtt/VTTCue.h
index c44a07488a0d03e85d3d65793c773cce0d9ec6d6..e006ae76b43881e4682c6ca60196ac341d9d8d54 100644
--- a/Source/core/html/track/vtt/VTTCue.h
+++ b/Source/core/html/track/vtt/VTTCue.h
@@ -39,9 +39,7 @@ class Document;
class ExecutionContext;
class VTTCue;
-// ----------------------------
-
-class VTTCueBox FINAL : public TextTrackCueBox {
+class VTTCueBox FINAL : public HTMLDivElement {
public:
static PassRefPtr<VTTCueBox> create(Document& document, VTTCue* cue)
{
@@ -51,7 +49,7 @@ public:
VTTCue* getCue() const { return m_cue; }
void applyCSSProperties(const IntSize& videoSize);
-protected:
+private:
VTTCueBox(Document&, VTTCue*);
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
@@ -59,8 +57,6 @@ protected:
VTTCue* m_cue;
};
-// ----------------------------
-
class VTTCue FINAL : public TextTrackCue, public ScriptWrappable {
public:
static PassRefPtr<VTTCue> create(Document& document, double startTime, double endTime, const String& text)
@@ -144,7 +140,7 @@ private:
Document& document() const;
PassRefPtr<VTTCueBox> displayTreeInternal();
- PassRefPtr<TextTrackCueBox> getDisplayTree(const IntSize& videoSize);
+ PassRefPtr<VTTCueBox> getDisplayTree(const IntSize& videoSize);
virtual void cueDidChange() OVERRIDE;
« no previous file with comments | « Source/core/html/track/TextTrackCue.cpp ('k') | Source/core/html/track/vtt/VTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698