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

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

Issue 2430813002: Switch to shorter names for property tree storage and updates (Closed)
Patch Set: Created 4 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 LayoutItem_h 5 #ifndef LayoutItem_h
6 #define LayoutItem_h 6 #define LayoutItem_h
7 7
8 #include "core/inspector/InspectorTraceEvents.h" 8 #include "core/inspector/InspectorTraceEvents.h"
9 #include "core/layout/LayoutObject.h" 9 #include "core/layout/LayoutObject.h"
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 LayoutRect& layoutRect, 207 LayoutRect& layoutRect,
208 VisualRectFlags flags = DefaultVisualRectFlags) const { 208 VisualRectFlags flags = DefaultVisualRectFlags) const {
209 return m_layoutObject->mapToVisualRectInAncestorSpace(ancestor, layoutRect, 209 return m_layoutObject->mapToVisualRectInAncestorSpace(ancestor, layoutRect,
210 flags); 210 flags);
211 } 211 }
212 212
213 Color resolveColor(int colorProperty) const { 213 Color resolveColor(int colorProperty) const {
214 return m_layoutObject->resolveColor(colorProperty); 214 return m_layoutObject->resolveColor(colorProperty);
215 } 215 }
216 216
217 const ObjectPaintProperties* objectPaintProperties() const { 217 const ObjectPaintProperties* paintProperties() const {
218 return m_layoutObject->objectPaintProperties(); 218 return m_layoutObject->paintProperties();
219 } 219 }
220 220
221 void invalidatePaintRectangle(const LayoutRect& dirtyRect) const { 221 void invalidatePaintRectangle(const LayoutRect& dirtyRect) const {
222 m_layoutObject->invalidatePaintRectangle(dirtyRect); 222 m_layoutObject->invalidatePaintRectangle(dirtyRect);
223 } 223 }
224 224
225 PassRefPtr<ComputedStyle> getUncachedPseudoStyle( 225 PassRefPtr<ComputedStyle> getUncachedPseudoStyle(
226 const PseudoStyleRequest& pseudoStyleRequest, 226 const PseudoStyleRequest& pseudoStyleRequest,
227 const ComputedStyle* parentStyle = nullptr, 227 const ComputedStyle* parentStyle = nullptr,
228 const ComputedStyle* ownStyle = nullptr) const { 228 const ComputedStyle* ownStyle = nullptr) const {
229 return m_layoutObject->getUncachedPseudoStyle(pseudoStyleRequest, 229 return m_layoutObject->getUncachedPseudoStyle(pseudoStyleRequest,
230 parentStyle, ownStyle); 230 parentStyle, ownStyle);
231 } 231 }
232 232
233 protected: 233 protected:
234 LayoutObject* layoutObject() { return m_layoutObject; } 234 LayoutObject* layoutObject() { return m_layoutObject; }
235 const LayoutObject* layoutObject() const { return m_layoutObject; } 235 const LayoutObject* layoutObject() const { return m_layoutObject; }
236 236
237 private: 237 private:
238 LayoutObject* m_layoutObject; 238 LayoutObject* m_layoutObject;
239 239
240 friend class LayoutAPIShim; 240 friend class LayoutAPIShim;
241 }; 241 };
242 242
243 } // namespace blink 243 } // namespace blink
244 244
245 #endif // LayoutItem_h 245 #endif // LayoutItem_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/paint/BlockPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698