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

Side by Side Diff: third_party/WebKit/Source/core/layout/PaintInvalidationState.h

Issue 2575423003: Fix geometry mapping issues for float under inline (Closed)
Patch Set: SVG floating Created 3 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 PaintInvalidationState_h 5 #ifndef PaintInvalidationState_h
6 #define PaintInvalidationState_h 6 #define PaintInvalidationState_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/paint/PaintInvalidator.h" 9 #include "core/paint/PaintInvalidator.h"
10 #include "platform/geometry/LayoutRect.h" 10 #include "platform/geometry/LayoutRect.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void mapLocalRectToPaintInvalidationBacking(LayoutRect&) const; 101 void mapLocalRectToPaintInvalidationBacking(LayoutRect&) const;
102 102
103 PaintLayer& paintingLayer() const; 103 PaintLayer& paintingLayer() const;
104 104
105 const LayoutObject& currentObject() const { return m_currentObject; } 105 const LayoutObject& currentObject() const { return m_currentObject; }
106 106
107 private: 107 private:
108 friend class VisualRectMappingTest; 108 friend class VisualRectMappingTest;
109 friend class PaintInvalidatorContextAdapter; 109 friend class PaintInvalidatorContextAdapter;
110 110
111 inline PaintLayer& childPaintingLayer(const LayoutObject& child) const;
112
111 void mapLocalRectToPaintInvalidationContainer(LayoutRect&) const; 113 void mapLocalRectToPaintInvalidationContainer(LayoutRect&) const;
112 114
113 void updateForCurrentObject(const PaintInvalidationState& parentState); 115 void updateForCurrentObject(const PaintInvalidationState& parentState);
114 void updateForNormalChildren(); 116 void updateForNormalChildren();
115 117
116 LayoutRect computeVisualRectInBackingForSVG() const; 118 LayoutRect computeVisualRectInBackingForSVG() const;
117 119
118 void addClipRectRelativeToPaintOffset(const LayoutRect& localClipRect); 120 void addClipRectRelativeToPaintOffset(const LayoutRect& localClipRect);
119 121
120 const LayoutObject& m_currentObject; 122 const LayoutObject& m_currentObject;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 void mapLocalRectToPaintInvalidationBacking(const LayoutObject&, 194 void mapLocalRectToPaintInvalidationBacking(const LayoutObject&,
193 LayoutRect&) const override; 195 LayoutRect&) const override;
194 196
195 private: 197 private:
196 const PaintInvalidationState& m_paintInvalidationState; 198 const PaintInvalidationState& m_paintInvalidationState;
197 }; 199 };
198 200
199 } // namespace blink 201 } // namespace blink
200 202
201 #endif // PaintInvalidationState_h 203 #endif // PaintInvalidationState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698