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

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

Issue 2559413002: [1/5] Pass transformed rasterization policy from Blink (Closed)
Patch Set: rebase Created 3 years, 8 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 /* 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const PaintLayer* compositingContainer, 96 const PaintLayer* compositingContainer,
97 const PaintLayer* compositingStackingContext, 97 const PaintLayer* compositingStackingContext,
98 Vector<PaintLayer*>& layersNeedingPaintInvalidation); 98 Vector<PaintLayer*>& layersNeedingPaintInvalidation);
99 99
100 // Update whether background paints onto scrolling contents layer. 100 // Update whether background paints onto scrolling contents layer.
101 void updateBackgroundPaintsOntoScrollingContentsLayer(); 101 void updateBackgroundPaintsOntoScrollingContentsLayer();
102 102
103 // Update whether layer needs blending. 103 // Update whether layer needs blending.
104 void updateContentsOpaque(); 104 void updateContentsOpaque();
105 105
106 void updateRasterizationPolicy();
107
106 GraphicsLayer* mainGraphicsLayer() const { return m_graphicsLayer.get(); } 108 GraphicsLayer* mainGraphicsLayer() const { return m_graphicsLayer.get(); }
107 109
108 // Layer to clip children 110 // Layer to clip children
109 bool hasClippingLayer() const { return m_childContainmentLayer.get(); } 111 bool hasClippingLayer() const { return m_childContainmentLayer.get(); }
110 GraphicsLayer* clippingLayer() const { return m_childContainmentLayer.get(); } 112 GraphicsLayer* clippingLayer() const { return m_childContainmentLayer.get(); }
111 113
112 // Layer to get clipped by ancestor 114 // Layer to get clipped by ancestor
113 bool hasAncestorClippingLayer() const { 115 bool hasAncestorClippingLayer() const {
114 return m_ancestorClippingLayer.get(); 116 return m_ancestorClippingLayer.get();
115 } 117 }
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 unsigned m_backgroundPaintsOntoGraphicsLayer : 1; 704 unsigned m_backgroundPaintsOntoGraphicsLayer : 1;
703 705
704 bool m_drawsBackgroundOntoContentLayer; 706 bool m_drawsBackgroundOntoContentLayer;
705 707
706 friend class CompositedLayerMappingTest; 708 friend class CompositedLayerMappingTest;
707 }; 709 };
708 710
709 } // namespace blink 711 } // namespace blink
710 712
711 #endif // CompositedLayerMapping_h 713 #endif // CompositedLayerMapping_h
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698