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

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

Issue 77853002: Move VTT functionality from TextTrackCue.* to VTTCue.* (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderTextTrackCue.h
diff --git a/Source/core/rendering/RenderTextTrackCue.h b/Source/core/rendering/RenderTextTrackCue.h
index ee0209792a3c9c353ccfec45be9f0a8a55b9aaf2..89ec3683118644bee752fa91892727b8f24b5dfa 100644
--- a/Source/core/rendering/RenderTextTrackCue.h
+++ b/Source/core/rendering/RenderTextTrackCue.h
@@ -27,36 +27,17 @@
#define RenderTextTrackCue_h
#include "core/rendering/RenderBlockFlow.h"
-#include "core/rendering/RenderInline.h"
-#include "platform/geometry/FloatPoint.h"
namespace WebCore {
class TextTrackCueBox;
-class RenderTextTrackCue FINAL : public RenderBlockFlow {
+class RenderTextTrackCue : public RenderBlockFlow {
acolwell GONE FROM CHROMIUM 2013/11/20 18:38:45 I think we should just remove this object and have
gasubic 2013/11/21 03:07:38 Done.
public:
explicit RenderTextTrackCue(TextTrackCueBox*);
private:
- virtual void layout() OVERRIDE;
virtual bool supportsPartialLayout() const OVERRIDE { return false; }
-
- bool isOutside() const;
- bool isOverlapping() const;
- bool shouldSwitchDirection(InlineFlowBox*, LayoutUnit) const;
-
- void moveBoxesByStep(LayoutUnit);
- bool switchDirection(bool&, LayoutUnit&);
-
- bool findFirstLineBox(InlineFlowBox*&);
- bool initializeLayoutParameters(InlineFlowBox*, LayoutUnit&, LayoutUnit&);
- void placeBoxInDefaultPosition(LayoutUnit, bool&);
- void repositionCueSnapToLinesSet();
- void repositionCueSnapToLinesNotSet();
-
- TextTrackCue* m_cue;
- FloatPoint m_fallbackPosition;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698