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

Side by Side Diff: Source/core/rendering/RenderLayerReflectionInfo.h

Issue 620753006: Rendering API cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 2 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 /* 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 RenderReplica* reflection() const { return m_reflection; } 64 RenderReplica* reflection() const { return m_reflection; }
65 RenderLayer* reflectionLayer() const; 65 RenderLayer* reflectionLayer() const;
66 66
67 bool isPaintingInsideReflection() const { return m_isPaintingInsideReflectio n; } 67 bool isPaintingInsideReflection() const { return m_isPaintingInsideReflectio n; }
68 68
69 void updateAfterStyleChange(const RenderStyle* oldStyle); 69 void updateAfterStyleChange(const RenderStyle* oldStyle);
70 70
71 void paint(GraphicsContext*, const LayerPaintingInfo&, PaintLayerFlags); 71 void paint(GraphicsContext*, const LayerPaintingInfo&, PaintLayerFlags);
72 72
73 String debugName() const;
74
75 private: 73 private:
76 RenderBox& box() { return *m_box; } 74 RenderBox& box() { return *m_box; }
77 const RenderBox& box() const { return *m_box; } 75 const RenderBox& box() const { return *m_box; }
78 76
79 RawPtrWillBeMember<RenderBox> m_box; 77 RawPtrWillBeMember<RenderBox> m_box;
80 RawPtrWillBeMember<RenderReplica> m_reflection; 78 RawPtrWillBeMember<RenderReplica> m_reflection;
81 79
82 // A state bit tracking if we are painting inside a replica. 80 // A state bit tracking if we are painting inside a replica.
83 unsigned m_isPaintingInsideReflection : 1; 81 unsigned m_isPaintingInsideReflection : 1;
84 }; 82 };
85 83
86 } // namespace blink 84 } // namespace blink
87 85
88 #endif // RenderLayerReflectinInfo_h 86 #endif // RenderLayerReflectinInfo_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderLayerReflectionInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698