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

Side by Side Diff: third_party/WebKit/Source/core/paint/BlockPainter.h

Issue 1575983002: Display fixed position objects on every page of paged media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BlockPainter_h 5 #ifndef BlockPainter_h
6 #define BlockPainter_h 6 #define BlockPainter_h
7 7
8 #include "wtf/Allocator.h" 8 #include "wtf/Allocator.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 24 matching lines...) Expand all
35 // It is expected that the caller will call this function independent of the value of paintInfo.phase. 35 // It is expected that the caller will call this function independent of the value of paintInfo.phase.
36 static void paintAsInlineBlock(const LayoutObject&, const PaintInfo&, const LayoutPoint&); 36 static void paintAsInlineBlock(const LayoutObject&, const PaintInfo&, const LayoutPoint&);
37 static void paintChildrenOfFlexibleBox(const LayoutFlexibleBox&, const Paint Info&, const LayoutPoint& paintOffset); 37 static void paintChildrenOfFlexibleBox(const LayoutFlexibleBox&, const Paint Info&, const LayoutPoint& paintOffset);
38 static void paintInlineBox(const InlineBox&, const PaintInfo&, const LayoutP oint& paintOffset); 38 static void paintInlineBox(const InlineBox&, const PaintInfo&, const LayoutP oint& paintOffset);
39 39
40 bool intersectsPaintRect(const PaintInfo&, const LayoutPoint& paintOffset) c onst; 40 bool intersectsPaintRect(const PaintInfo&, const LayoutPoint& paintOffset) c onst;
41 41
42 private: 42 private:
43 void paintCarets(const PaintInfo&, const LayoutPoint&); 43 void paintCarets(const PaintInfo&, const LayoutPoint&);
44 void paintContents(const PaintInfo&, const LayoutPoint&); 44 void paintContents(const PaintInfo&, const LayoutPoint&);
45 void paintFixedPositionObjectsOnAllPages(const PaintInfo& localPaintInfo, co nst LayoutPoint& paintOffset);
45 46
46 const LayoutBlock& m_layoutBlock; 47 const LayoutBlock& m_layoutBlock;
47 }; 48 };
48 49
49 } // namespace blink 50 } // namespace blink
50 51
51 #endif // BlockPainter_h 52 #endif // BlockPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698