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

Side by Side Diff: sky/engine/core/rendering/compositing/CompositedLayerMapping.h

Issue 680263005: Remove layerIsContainerForFixedPositionLayers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 bool requiresHorizontalScrollbarLayer() const { return m_owningLayer.scrolla bleArea() && m_owningLayer.scrollableArea()->horizontalScrollbar(); } 246 bool requiresHorizontalScrollbarLayer() const { return m_owningLayer.scrolla bleArea() && m_owningLayer.scrollableArea()->horizontalScrollbar(); }
247 bool requiresVerticalScrollbarLayer() const { return m_owningLayer.scrollabl eArea() && m_owningLayer.scrollableArea()->verticalScrollbar(); } 247 bool requiresVerticalScrollbarLayer() const { return m_owningLayer.scrollabl eArea() && m_owningLayer.scrollableArea()->verticalScrollbar(); }
248 bool requiresScrollCornerLayer() const { return m_owningLayer.scrollableArea () && !m_owningLayer.scrollableArea()->scrollCornerAndResizerRect().isEmpty(); } 248 bool requiresScrollCornerLayer() const { return m_owningLayer.scrollableArea () && !m_owningLayer.scrollableArea()->scrollCornerAndResizerRect().isEmpty(); }
249 bool updateScrollingLayers(bool scrollingLayers); 249 bool updateScrollingLayers(bool scrollingLayers);
250 void updateScrollParent(RenderLayer*); 250 void updateScrollParent(RenderLayer*);
251 void updateClipParent(); 251 void updateClipParent();
252 bool updateSquashingLayers(bool needsSquashingLayers); 252 bool updateSquashingLayers(bool needsSquashingLayers);
253 void updateDrawsContent(); 253 void updateDrawsContent();
254 void updateChildrenTransform(); 254 void updateChildrenTransform();
255 void updateCompositedBounds(); 255 void updateCompositedBounds();
256 void registerScrollingLayers();
257 256
258 // Also sets subpixelAccumulation on the layer. 257 // Also sets subpixelAccumulation on the layer.
259 void computeBoundsOfOwningLayer(const RenderLayer* compositedAncestor, IntRe ct& localCompositingBounds, IntRect& compositingBoundsRelativeToCompositedAncest or, LayoutPoint& offsetFromCompositedAncestor, IntPoint& snappedOffsetFromCompos itedAncestor); 258 void computeBoundsOfOwningLayer(const RenderLayer* compositedAncestor, IntRe ct& localCompositingBounds, IntRect& compositingBoundsRelativeToCompositedAncest or, LayoutPoint& offsetFromCompositedAncestor, IntPoint& snappedOffsetFromCompos itedAncestor);
260 259
261 void setBackgroundLayerPaintsFixedRootBackground(bool); 260 void setBackgroundLayerPaintsFixedRootBackground(bool);
262 261
263 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; 262 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const;
264 263
265 // Result is transform origin in pixels. 264 // Result is transform origin in pixels.
266 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; 265 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 unsigned m_pendingUpdateScope : 2; 419 unsigned m_pendingUpdateScope : 2;
421 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; 420 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1;
422 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; 421 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1;
423 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; 422 unsigned m_backgroundLayerPaintsFixedRootBackground : 1;
424 unsigned m_scrollingContentsAreEmpty : 1; 423 unsigned m_scrollingContentsAreEmpty : 1;
425 }; 424 };
426 425
427 } // namespace blink 426 } // namespace blink
428 427
429 #endif // CompositedLayerMapping_h 428 #endif // CompositedLayerMapping_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698