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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h

Issue 2841113002: Add convenience methods for PLSA visible client dimensions. (Closed)
Patch Set: cleanup Created 3 years, 8 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/paint/PaintLayerScrollableArea.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
index a00b42bb565f10b645cde6b8b1ffc33bbdfc8a6b..515333af532fad11a147d22687db1399ffa16ccb 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
@@ -297,6 +297,9 @@ class CORE_EXPORT PaintLayerScrollableArea final
CompositorAnimationHost* GetCompositorAnimationHost() const override;
CompositorAnimationTimeline* GetCompositorAnimationTimeline() const override;
+ LayoutSize ClientSize() const;
skobes 2017/04/27 23:22:47 Isn't this the same as VisibleContentRect().Size()
szager1 2017/04/28 11:04:53 VisibleContentRect is based on layer_.Size(), whic
+ IntSize PixelSnappedClientSize() const;
+
void VisibleSizeChanged();
// FIXME: We shouldn't allow access to m_overflowRect outside this class.

Powered by Google App Engine
This is Rietveld 408576698