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

Side by Side Diff: Source/core/layout/compositing/CompositedLayerMapping.h

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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) 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void updateReflectionLayerGeometry(Vector<Layer*>& layersNeedingPaintInvalid ation); 215 void updateReflectionLayerGeometry(Vector<Layer*>& layersNeedingPaintInvalid ation);
216 void updateScrollingLayerGeometry(const IntRect& localCompositingBounds); 216 void updateScrollingLayerGeometry(const IntRect& localCompositingBounds);
217 void updateChildClippingMaskLayerGeometry(); 217 void updateChildClippingMaskLayerGeometry();
218 218
219 void createPrimaryGraphicsLayer(); 219 void createPrimaryGraphicsLayer();
220 void destroyGraphicsLayers(); 220 void destroyGraphicsLayers();
221 221
222 PassOwnPtr<GraphicsLayer> createGraphicsLayer(CompositingReasons); 222 PassOwnPtr<GraphicsLayer> createGraphicsLayer(CompositingReasons);
223 bool toggleScrollbarLayerIfNeeded(OwnPtr<GraphicsLayer>&, bool needsLayer, C ompositingReasons); 223 bool toggleScrollbarLayerIfNeeded(OwnPtr<GraphicsLayer>&, bool needsLayer, C ompositingReasons);
224 224
225 LayoutBoxModelObject* renderer() const { return m_owningLayer.renderer(); } 225 LayoutBoxModelObject* layoutObject() const { return m_owningLayer.layoutObje ct(); }
226 LayerCompositor* compositor() const { return m_owningLayer.compositor(); } 226 LayerCompositor* compositor() const { return m_owningLayer.compositor(); }
227 227
228 void updateInternalHierarchy(); 228 void updateInternalHierarchy();
229 void updatePaintingPhases(); 229 void updatePaintingPhases();
230 bool updateClippingLayers(bool needsAncestorClip, bool needsDescendantClip); 230 bool updateClippingLayers(bool needsAncestorClip, bool needsDescendantClip);
231 bool updateChildTransformLayer(bool needsChildTransformLayer); 231 bool updateChildTransformLayer(bool needsChildTransformLayer);
232 bool updateOverflowControlsLayers(bool needsHorizontalScrollbarLayer, bool n eedsVerticalScrollbarLayer, bool needsScrollCornerLayer, bool needsAncestorClip) ; 232 bool updateOverflowControlsLayers(bool needsHorizontalScrollbarLayer, bool n eedsVerticalScrollbarLayer, bool needsScrollCornerLayer, bool needsAncestorClip) ;
233 bool updateForegroundLayer(bool needsForegroundLayer); 233 bool updateForegroundLayer(bool needsForegroundLayer);
234 bool updateBackgroundLayer(bool needsBackgroundLayer); 234 bool updateBackgroundLayer(bool needsBackgroundLayer);
235 bool updateMaskLayer(bool needsMaskLayer); 235 bool updateMaskLayer(bool needsMaskLayer);
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 unsigned m_pendingUpdateScope : 2; 414 unsigned m_pendingUpdateScope : 2;
415 unsigned m_isMainFrameLayoutViewLayer : 1; 415 unsigned m_isMainFrameLayoutViewLayer : 1;
416 416
417 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 417 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
418 unsigned m_scrollingContentsAreEmpty : 1; 418 unsigned m_scrollingContentsAreEmpty : 1;
419 }; 419 };
420 420
421 } // namespace blink 421 } // namespace blink
422 422
423 #endif // CompositedLayerMapping_h 423 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « Source/core/layout/TextAutosizer.cpp ('k') | Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698