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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 WTF_MAKE_NONCOPYABLE(DeprecatedPaintLayerReflectionInfo); 58 WTF_MAKE_NONCOPYABLE(DeprecatedPaintLayerReflectionInfo);
59 public: 59 public:
60 explicit DeprecatedPaintLayerReflectionInfo(LayoutBox&); 60 explicit DeprecatedPaintLayerReflectionInfo(LayoutBox&);
61 void destroy(); 61 void destroy();
62 62
63 LayoutReplica* reflection() const { return m_reflection; } 63 LayoutReplica* reflection() const { return m_reflection; }
64 DeprecatedPaintLayer* reflectionLayer() const; 64 DeprecatedPaintLayer* reflectionLayer() const;
65 65
66 bool isPaintingInsideReflection() const { return m_isPaintingInsideReflectio n; } 66 bool isPaintingInsideReflection() const { return m_isPaintingInsideReflectio n; }
67 67
68 void updateAfterStyleChange(const LayoutStyle* oldStyle); 68 void updateAfterStyleChange(const ComputedStyle* oldStyle);
69 69
70 void paint(GraphicsContext*, const DeprecatedPaintLayerPaintingInfo&, PaintL ayerFlags); 70 void paint(GraphicsContext*, const DeprecatedPaintLayerPaintingInfo&, PaintL ayerFlags);
71 71
72 private: 72 private:
73 LayoutBox& box() { return *m_box; } 73 LayoutBox& box() { return *m_box; }
74 const LayoutBox& box() const { return *m_box; } 74 const LayoutBox& box() const { return *m_box; }
75 75
76 LayoutBox* m_box; 76 LayoutBox* m_box;
77 LayoutReplica* m_reflection; 77 LayoutReplica* m_reflection;
78 78
79 // A state bit tracking if we are painting inside a replica. 79 // A state bit tracking if we are painting inside a replica.
80 unsigned m_isPaintingInsideReflection : 1; 80 unsigned m_isPaintingInsideReflection : 1;
81 }; 81 };
82 82
83 } // namespace blink 83 } // namespace blink
84 84
85 #endif // DeprecatedPaintLayerReflectinInfo_h 85 #endif // DeprecatedPaintLayerReflectinInfo_h
OLDNEW
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerPainter.cpp ('k') | Source/core/paint/DeprecatedPaintLayerReflectionInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698