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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2316533004: Don't include headers from the layout API from other headers needlessly. (Closed)
Patch Set: The runway sure is slippery today. 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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 1c1cd08ef96cd70a535ab4a10241e537f9f35fe9..98b086e6bdfc5f1c2f43e46096bccc614c0ea890 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -448,6 +448,11 @@ LayoutView* FrameView::layoutView() const
return frame().contentLayoutObject();
}
+LayoutViewItem FrameView::layoutViewItem() const
+{
+ return LayoutViewItem(frame().contentLayoutObject());
+}
+
ScrollingCoordinator* FrameView::scrollingCoordinator() const
{
Page* p = page();
@@ -460,6 +465,11 @@ CompositorAnimationTimeline* FrameView::compositorAnimationTimeline() const
return c ? c->compositorAnimationTimeline() : nullptr;
}
+LayoutBox* FrameView::layoutBox() const
+{
+ return layoutView();
+}
+
void FrameView::setCanHaveScrollbars(bool canHaveScrollbars)
{
m_canHaveScrollbars = canHaveScrollbars;
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698