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

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

Issue 1492143002: Add support for printing multicol containers, and enable it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review Created 5 years 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/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index e13a18c24a252b9db94c49bbd8a4918523c84cc2..fc185dc3fd8cd4e7ed5bf75910b508d724be2ce4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -40,6 +40,7 @@ class FrameView;
class PaintLayerCompositor;
class LayoutQuote;
class LayoutMedia;
+class ViewFragmentationContext;
// LayoutView is the root of the layout tree and the Document's LayoutObject.
//
@@ -142,6 +143,8 @@ public:
void updateHitTestResult(HitTestResult&, const LayoutPoint&) override;
+ ViewFragmentationContext* fragmentationContext() const { return m_fragmentationContext.get(); }
+
LayoutUnit pageLogicalHeight() const { return m_pageLogicalHeight; }
void setPageLogicalHeight(LayoutUnit height)
{
@@ -262,6 +265,7 @@ private:
// See the class comment for more details.
LayoutState* m_layoutState;
+ OwnPtr<ViewFragmentationContext> m_fragmentationContext;
OwnPtr<PaintLayerCompositor> m_compositor;
RefPtr<IntervalArena> m_intervalArena;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698