| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |