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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 void updateRootLayerPosition(); | 141 void updateRootLayerPosition(); |
142 | 142 |
143 // If the root scroller isn't the root layer then the PaintLayerCompositor | 143 // If the root scroller isn't the root layer then the PaintLayerCompositor |
144 // must disable clipping on its layers so that the root scroller can | 144 // must disable clipping on its layers so that the root scroller can |
145 // expand/shrink its clipping layer in response to browser controls and have | 145 // expand/shrink its clipping layer in response to browser controls and have |
146 // the result be visible. | 146 // the result be visible. |
147 void updateClippingOnCompositorLayers(); | 147 void updateClippingOnCompositorLayers(); |
148 | 148 |
149 void setIsInWindow(bool); | 149 void setIsInWindow(bool); |
150 | 150 |
151 static PaintLayerCompositor* frameContentsCompositor(LayoutPart*); | 151 static PaintLayerCompositor* frameContentsCompositor(LayoutPart&); |
152 // Return true if the layers changed. | 152 // Return true if the layers changed. |
153 static bool attachFrameContentLayersToIframeLayer(LayoutPart*); | 153 static bool attachFrameContentLayersToIframeLayer(LayoutPart&); |
154 | 154 |
155 // Update the geometry of the layers used for clipping and scrolling in | 155 // Update the geometry of the layers used for clipping and scrolling in |
156 // frames. | 156 // frames. |
157 void frameViewDidChangeLocation(const IntPoint& contentsOffset); | 157 void frameViewDidChangeLocation(const IntPoint& contentsOffset); |
158 void frameViewDidChangeSize(); | 158 void frameViewDidChangeSize(); |
159 void frameViewDidScroll(); | 159 void frameViewDidScroll(); |
160 void frameViewScrollbarsExistenceDidChange(); | 160 void frameViewScrollbarsExistenceDidChange(); |
161 void rootFixedBackgroundsChanged(); | 161 void rootFixedBackgroundsChanged(); |
162 | 162 |
163 bool scrollingLayerDidChange(PaintLayer*); | 163 bool scrollingLayerDidChange(PaintLayer*); |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 | 277 |
278 // Layers for overflow controls | 278 // Layers for overflow controls |
279 std::unique_ptr<GraphicsLayer> m_layerForHorizontalScrollbar; | 279 std::unique_ptr<GraphicsLayer> m_layerForHorizontalScrollbar; |
280 std::unique_ptr<GraphicsLayer> m_layerForVerticalScrollbar; | 280 std::unique_ptr<GraphicsLayer> m_layerForVerticalScrollbar; |
281 std::unique_ptr<GraphicsLayer> m_layerForScrollCorner; | 281 std::unique_ptr<GraphicsLayer> m_layerForScrollCorner; |
282 }; | 282 }; |
283 | 283 |
284 } // namespace blink | 284 } // namespace blink |
285 | 285 |
286 #endif // PaintLayerCompositor_h | 286 #endif // PaintLayerCompositor_h |
OLD | NEW |