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

Side by Side Diff: Source/core/paint/InlineFlowBoxPainter.h

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 10 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 | Annotate | Revision Log
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 InlineFlowBoxPainter_h 5 #ifndef InlineFlowBoxPainter_h
6 #define InlineFlowBoxPainter_h 6 #define InlineFlowBoxPainter_h
7 7
8 #include "core/rendering/style/ShadowData.h" 8 #include "core/rendering/style/ShadowData.h"
9 #include "platform/graphics/GraphicsTypes.h" 9 #include "platform/graphics/GraphicsTypes.h"
10 #include "platform/text/TextDirection.h" 10 #include "platform/text/TextDirection.h"
(...skipping 13 matching lines...) Expand all
24 class InlineFlowBoxPainter { 24 class InlineFlowBoxPainter {
25 public: 25 public:
26 InlineFlowBoxPainter(InlineFlowBox& inlineFlowBox) : m_inlineFlowBox(inlineF lowBox) { } 26 InlineFlowBoxPainter(InlineFlowBox& inlineFlowBox) : m_inlineFlowBox(inlineF lowBox) { }
27 void paint(const PaintInfo&, const LayoutPoint&, const LayoutUnit lineTop, c onst LayoutUnit lineBottom); 27 void paint(const PaintInfo&, const LayoutPoint&, const LayoutUnit lineTop, c onst LayoutUnit lineBottom);
28 28
29 private: 29 private:
30 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&); 30 void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoint&);
31 void paintMask(const PaintInfo&, const LayoutPoint&); 31 void paintMask(const PaintInfo&, const LayoutPoint&);
32 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, SkXfermode::Mode = SkXfermode::kSrcOver_Mode); 32 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, SkXfermode::Mode = SkXfermode::kSrcOver_Mode);
33 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, SkXfermode::Mode); 33 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const LayoutRect&, SkXfermode::Mode);
34 void paintBoxShadow(const PaintInfo&, RenderStyle*, ShadowStyle, const Layou tRect&); 34 void paintBoxShadow(const PaintInfo&, const RenderStyle*, ShadowStyle, const LayoutRect&);
35 LayoutRect roundedFrameRectClampedToLineTopAndBottomIfNeeded() const; 35 LayoutRect roundedFrameRectClampedToLineTopAndBottomIfNeeded() const;
36 LayoutRect paintRectForImageStrip(const LayoutPoint&, const LayoutSize&, Tex tDirection) const; 36 LayoutRect paintRectForImageStrip(const LayoutPoint&, const LayoutSize&, Tex tDirection) const;
37 37
38 InlineFlowBox& m_inlineFlowBox; 38 InlineFlowBox& m_inlineFlowBox;
39 }; 39 };
40 40
41 } // namespace blink 41 } // namespace blink
42 42
43 #endif // InlineFlowBoxPainter_h 43 #endif // InlineFlowBoxPainter_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698