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

Unified Diff: Source/core/rendering/RenderVTTCue.h

Issue 77853002: Move VTT functionality from TextTrackCue.* to VTTCue.* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address nits. 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 | « Source/core/rendering/RenderTextTrackCue.cpp ('k') | Source/core/rendering/RenderVTTCue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderVTTCue.h
diff --git a/Source/core/rendering/RenderTextTrackCue.h b/Source/core/rendering/RenderVTTCue.h
similarity index 89%
rename from Source/core/rendering/RenderTextTrackCue.h
rename to Source/core/rendering/RenderVTTCue.h
index ee0209792a3c9c353ccfec45be9f0a8a55b9aaf2..d357b24cc3ad0b1d22c8e5210ef34573b0341b29 100644
--- a/Source/core/rendering/RenderTextTrackCue.h
+++ b/Source/core/rendering/RenderVTTCue.h
@@ -23,8 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderTextTrackCue_h
-#define RenderTextTrackCue_h
+#ifndef RenderVTTCue_h
+#define RenderVTTCue_h
#include "core/rendering/RenderBlockFlow.h"
#include "core/rendering/RenderInline.h"
@@ -32,11 +32,12 @@
namespace WebCore {
-class TextTrackCueBox;
+class VTTCue;
+class VTTCueBox;
-class RenderTextTrackCue FINAL : public RenderBlockFlow {
+class RenderVTTCue FINAL : public RenderBlockFlow {
public:
- explicit RenderTextTrackCue(TextTrackCueBox*);
+ explicit RenderVTTCue(VTTCueBox*);
private:
virtual void layout() OVERRIDE;
@@ -55,10 +56,10 @@ private:
void repositionCueSnapToLinesSet();
void repositionCueSnapToLinesNotSet();
- TextTrackCue* m_cue;
+ VTTCue* m_cue;
FloatPoint m_fallbackPosition;
};
} // namespace WebCore
-#endif // RenderTextTrackCue_h
+#endif // RenderVTTCue_h
« no previous file with comments | « Source/core/rendering/RenderTextTrackCue.cpp ('k') | Source/core/rendering/RenderVTTCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698