Index: Source/core/rendering/RenderVTTCue.h |
diff --git a/Source/core/rendering/RenderTextTrackCue.h b/Source/core/rendering/RenderVTTCue.h |
similarity index 84% |
copy from Source/core/rendering/RenderTextTrackCue.h |
copy to Source/core/rendering/RenderVTTCue.h |
index ee0209792a3c9c353ccfec45be9f0a8a55b9aaf2..4c5e5f6393013d85b32c51d42683d8d50dbea763 100644 |
--- a/Source/core/rendering/RenderTextTrackCue.h |
+++ b/Source/core/rendering/RenderVTTCue.h |
@@ -23,24 +23,24 @@ |
* 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" |
+#include "core/rendering/RenderTextTrackCue.h" |
#include "platform/geometry/FloatPoint.h" |
namespace WebCore { |
-class TextTrackCueBox; |
+class VTTCue; |
+class VTTCueBox; |
-class RenderTextTrackCue FINAL : public RenderBlockFlow { |
+class RenderVTTCue FINAL : public RenderTextTrackCue { |
public: |
- explicit RenderTextTrackCue(TextTrackCueBox*); |
+ explicit RenderVTTCue(VTTCueBox*); |
private: |
virtual void layout() OVERRIDE; |
- virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
bool isOutside() const; |
bool isOverlapping() const; |
@@ -55,10 +55,10 @@ private: |
void repositionCueSnapToLinesSet(); |
void repositionCueSnapToLinesNotSet(); |
- TextTrackCue* m_cue; |
+ VTTCue* m_cue; |
FloatPoint m_fallbackPosition; |
}; |
} // namespace WebCore |
-#endif // RenderTextTrackCue_h |
+#endif // RenderVTTCue_h |