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

Side by Side Diff: sky/engine/core/rendering/RenderLayer.h

Issue 721473002: Removed ScrollingCoordinator and a bunch of composited scrolling' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments 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) 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 // This returns true if our document is in a phase of its lifestyle during w hich 271 // This returns true if our document is in a phase of its lifestyle during w hich
272 // compositing state may legally be read. 272 // compositing state may legally be read.
273 bool isAllowedToQueryCompositingState() const; 273 bool isAllowedToQueryCompositingState() const;
274 274
275 // Don't null check this. 275 // Don't null check this.
276 CompositedLayerMapping* compositedLayerMapping() const; 276 CompositedLayerMapping* compositedLayerMapping() const;
277 // FIXME: This should return a reference. 277 // FIXME: This should return a reference.
278 CompositedLayerMapping* ensureCompositedLayerMapping(); 278 CompositedLayerMapping* ensureCompositedLayerMapping();
279 GraphicsLayer* graphicsLayerBacking() const; 279 GraphicsLayer* graphicsLayerBacking() const;
280 GraphicsLayer* graphicsLayerBackingForScrolling() const;
281 // NOTE: If you are using hasCompositedLayerMapping to determine the state o f compositing for this layer, 280 // NOTE: If you are using hasCompositedLayerMapping to determine the state o f compositing for this layer,
282 // (and not just to do bookkeeping related to the mapping like, say, allocat ing or deallocating a mapping), 281 // (and not just to do bookkeeping related to the mapping like, say, allocat ing or deallocating a mapping),
283 // then you may have incorrect logic. Use compositingState() instead. 282 // then you may have incorrect logic. Use compositingState() instead.
284 // FIXME: This is identical to null checking compositedLayerMapping(), why n ot just call that? 283 // FIXME: This is identical to null checking compositedLayerMapping(), why n ot just call that?
285 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get (); } 284 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get (); }
286 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); 285 void clearCompositedLayerMapping(bool layerBeingDestroyed = false);
287 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } 286 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; }
288 void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBei ngDestroyed = false); 287 void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBei ngDestroyed = false);
289 288
290 bool hasCompositedMask() const; 289 bool hasCompositedMask() const;
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 663
665 } // namespace blink 664 } // namespace blink
666 665
667 #ifndef NDEBUG 666 #ifndef NDEBUG
668 // Outside the WebCore namespace for ease of invocation from gdb. 667 // Outside the WebCore namespace for ease of invocation from gdb.
669 void showLayerTree(const blink::RenderLayer*); 668 void showLayerTree(const blink::RenderLayer*);
670 void showLayerTree(const blink::RenderObject*); 669 void showLayerTree(const blink::RenderObject*);
671 #endif 670 #endif
672 671
673 #endif // RenderLayer_h 672 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « sky/engine/core/page/scrolling/ScrollingCoordinator.cpp ('k') | sky/engine/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698