OLD | NEW |
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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 280 |
281 bool IsRootLayer() const { return is_root_layer_; } | 281 bool IsRootLayer() const { return is_root_layer_; } |
282 | 282 |
283 PaintLayerCompositor* Compositor() const; | 283 PaintLayerCompositor* Compositor() const; |
284 | 284 |
285 // Notification from the layoutObject that its content changed (e.g. current | 285 // Notification from the layoutObject that its content changed (e.g. current |
286 // frame of image changed). Allows updates of layer content without | 286 // frame of image changed). Allows updates of layer content without |
287 // invalidating paint. | 287 // invalidating paint. |
288 void ContentChanged(ContentChangeType); | 288 void ContentChanged(ContentChangeType); |
289 | 289 |
290 void UpdateScrollingAfterLayout(); | 290 void UpdateSizeAndScrollingAfterLayout(); |
291 | 291 |
292 void UpdateLayerPosition(); | 292 void UpdateLayerPosition(); |
293 void UpdateLayerPositionsAfterLayout(); | 293 void UpdateLayerPositionsAfterLayout(); |
294 void UpdateLayerPositionsAfterOverflowScroll(); | 294 void UpdateLayerPositionsAfterOverflowScroll(); |
295 | 295 |
296 PaintLayer* EnclosingPaginationLayer() const { | 296 PaintLayer* EnclosingPaginationLayer() const { |
297 return rare_data_ ? rare_data_->enclosing_pagination_layer : nullptr; | 297 return rare_data_ ? rare_data_->enclosing_pagination_layer : nullptr; |
298 } | 298 } |
299 | 299 |
300 void UpdateTransformationMatrix(); | 300 void UpdateTransformationMatrix(); |
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 | 1277 |
1278 } // namespace blink | 1278 } // namespace blink |
1279 | 1279 |
1280 #ifndef NDEBUG | 1280 #ifndef NDEBUG |
1281 // Outside the WebCore namespace for ease of invocation from gdb. | 1281 // Outside the WebCore namespace for ease of invocation from gdb. |
1282 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1282 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
1283 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1283 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
1284 #endif | 1284 #endif |
1285 | 1285 |
1286 #endif // Layer_h | 1286 #endif // Layer_h |
OLD | NEW |