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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutVTTCue.h

Issue 2377193003: Don't use absolute bounding boxes in LayoutVTTCue (Closed)
Patch Set: Extend comments; adjust test Created 4 years, 3 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
Index: third_party/WebKit/Source/core/layout/LayoutVTTCue.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutVTTCue.h b/third_party/WebKit/Source/core/layout/LayoutVTTCue.h
index 19fd13f418105d01adb919dfd438dddc56941f4b..ab1995d184b4a91d77bc5f309592a98189587b3f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutVTTCue.h
+++ b/third_party/WebKit/Source/core/layout/LayoutVTTCue.h
@@ -27,11 +27,10 @@
#define LayoutVTTCue_h
#include "core/layout/LayoutBlockFlow.h"
-#include "platform/heap/Handle.h"
namespace blink {
-class VTTCueBox;
+class IntRect;
class LayoutVTTCue final : public LayoutBlockFlow {
public:
@@ -44,6 +43,7 @@ public:
private:
void layout() override;
+ IntRect computeControlsRect() const;
void repositionCueSnapToLinesNotSet();
float m_snapToLinesPosition;

Powered by Google App Engine
This is Rietveld 408576698