OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
142 | 142 |
143 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; } | 143 RootLayerAttachment rootLayerAttachment() const { return m_rootLayerAttachme nt; } |
144 void updateRootLayerAttachment(); | 144 void updateRootLayerAttachment(); |
145 void updateRootLayerPosition(); | 145 void updateRootLayerPosition(); |
146 | 146 |
147 void setIsInWindow(bool); | 147 void setIsInWindow(bool); |
148 | 148 |
149 static RenderLayerCompositor* frameContentsCompositor(RenderPart*); | 149 static RenderLayerCompositor* frameContentsCompositor(RenderPart*); |
150 // Return true if the layers changed. | 150 // Return true if the layers changed. |
151 static bool parentFrameContentLayers(RenderPart*); | 151 static bool parentFrameContentLayers(RenderPart*); |
152 // Returns true if a suitable enclosing composited layer was found. | |
153 static bool computeEnclosingCompositingLayer(Node*, RenderLayer*&, GraphicsL ayer*&); | |
154 static void convertTargetSpaceQuadToCompositedLayer(const FloatQuad& targetS paceQuad, RenderObject* targetRenderer, RenderObject* compositedRenderer, FloatQ uad& compositedSpaceQuad); | |
abarth-chromium
2014/06/13 21:38:15
This work should be done by the CompositedLayerMap
| |
152 | 155 |
153 // Update the geometry of the layers used for clipping and scrolling in fram es. | 156 // Update the geometry of the layers used for clipping and scrolling in fram es. |
154 void frameViewDidChangeLocation(const IntPoint& contentsOffset); | 157 void frameViewDidChangeLocation(const IntPoint& contentsOffset); |
155 void frameViewDidChangeSize(); | 158 void frameViewDidChangeSize(); |
156 void frameViewDidScroll(); | 159 void frameViewDidScroll(); |
157 void frameViewScrollbarsExistenceDidChange(); | 160 void frameViewScrollbarsExistenceDidChange(); |
158 void rootFixedBackgroundsChanged(); | 161 void rootFixedBackgroundsChanged(); |
159 | 162 |
160 bool scrollingLayerDidChange(RenderLayer*); | 163 bool scrollingLayerDidChange(RenderLayer*); |
161 | 164 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
272 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 275 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
273 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 276 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
274 #if USE(RUBBER_BANDING) | 277 #if USE(RUBBER_BANDING) |
275 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 278 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
276 #endif | 279 #endif |
277 }; | 280 }; |
278 | 281 |
279 } // namespace WebCore | 282 } // namespace WebCore |
280 | 283 |
281 #endif // RenderLayerCompositor_h | 284 #endif // RenderLayerCompositor_h |
OLD | NEW |