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

Unified Diff: Source/core/layout/LayoutTextTrackContainer.h

Issue 994063003: Move TextTrackContainer::updateSizes to the layout-side (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/html/track/TextTrackContainer.cpp ('k') | Source/core/layout/LayoutTextTrackContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTextTrackContainer.h
diff --git a/Source/core/layout/LayoutTextTrackContainer.h b/Source/core/layout/LayoutTextTrackContainer.h
index 98efe708cac6bbec26af37ae0bab9b640a4c7628..0d6fb5cc4c04562da01d1621744eb51ddf21ce9a 100644
--- a/Source/core/layout/LayoutTextTrackContainer.h
+++ b/Source/core/layout/LayoutTextTrackContainer.h
@@ -29,10 +29,12 @@
#define LayoutTextTrackContainer_h
#include "core/layout/LayoutBlockFlow.h"
+#include "platform/geometry/IntSize.h"
namespace blink {
class Element;
+class LayoutVideo;
class LayoutTextTrackContainer final : public LayoutBlockFlow {
public:
@@ -40,6 +42,11 @@ public:
private:
virtual void layout() override;
+
+ bool updateSizes(const LayoutVideo&);
+
+ IntSize m_videoSize;
+ float m_fontSize;
};
} // namespace blink
« no previous file with comments | « Source/core/html/track/TextTrackContainer.cpp ('k') | Source/core/layout/LayoutTextTrackContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698