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

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

Issue 1921553008: Fix scroll origin, overflow rects, and coordinate flipping for flexbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebaseline Created 4 years, 7 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/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index bff6c3b63427dd7bc59b3cfa17e2d73c9ac43e5c..6aae48cb6b8fd1eb2f08c3aeebdd60a6c33d6958 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -380,6 +380,9 @@ public:
LayoutRect selfVisualOverflowRect() const { return m_overflow ? m_overflow->selfVisualOverflowRect() : borderBoxRect(); }
LayoutRect contentsVisualOverflowRect() const { return m_overflow ? m_overflow->contentsVisualOverflowRect() : LayoutRect(); }
+ virtual bool hasTopOverflow() const;
leviw_travelin_and_unemployed 2016/05/10 01:57:06 May be worth a comment about when this would be tr
szager1 2016/05/10 07:33:09 Added a comment.
+ virtual bool hasLeftOverflow() const;
+
void addLayoutOverflow(const LayoutRect&);
void addSelfVisualOverflow(const LayoutRect&);
void addContentsVisualOverflow(const LayoutRect&);
@@ -871,6 +874,7 @@ public:
virtual bool needsPreferredWidthsRecalculation() const;
+ virtual IntSize originAdjustmentForScrollbars() const;
IntSize scrolledContentOffset() const;
// Maps a rect in scrolling contents space to box space and apply overflow clip if needed.

Powered by Google App Engine
This is Rietveld 408576698