| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2373 // This rect does *not* account for composited scrolling. See | 2373 // This rect does *not* account for composited scrolling. See |
| 2374 // adjustVisualRectForCompositedScrolling(). | 2374 // adjustVisualRectForCompositedScrolling(). |
| 2375 LayoutRect m_previousVisualRect; | 2375 LayoutRect m_previousVisualRect; |
| 2376 | 2376 |
| 2377 // This stores the paint offset computed by the latest paint property tree | 2377 // This stores the paint offset computed by the latest paint property tree |
| 2378 // building. It is relative to the containing transform space. It is the same | 2378 // building. It is relative to the containing transform space. It is the same |
| 2379 // offset that will be used to paint the object on SPv2. It's used to detect | 2379 // offset that will be used to paint the object on SPv2. It's used to detect |
| 2380 // paint offset change for paint invalidation on SPv2, and partial paint | 2380 // paint offset change for paint invalidation on SPv2, and partial paint |
| 2381 // property tree update for SlimmingPaintInvalidation on SPv1 and SPv2. | 2381 // property tree update for SlimmingPaintInvalidation on SPv1 and SPv2. |
| 2382 LayoutPoint m_previousPaintOffset; | 2382 LayoutPoint m_previousPaintOffset; |
| 2383 |
| 2384 // For SPv2 only. The ObjectPaintProperties structure holds references to the |
| 2385 // property tree nodes that are created by the layout object for painting. |
| 2386 std::unique_ptr<ObjectPaintProperties> m_paintProperties; |
| 2383 }; | 2387 }; |
| 2384 | 2388 |
| 2385 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer | 2389 // FIXME: remove this once the layout object lifecycle ASSERTS are no longer |
| 2386 // hit. | 2390 // hit. |
| 2387 class DeprecatedDisableModifyLayoutTreeStructureAsserts { | 2391 class DeprecatedDisableModifyLayoutTreeStructureAsserts { |
| 2388 STACK_ALLOCATED(); | 2392 STACK_ALLOCATED(); |
| 2389 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); | 2393 WTF_MAKE_NONCOPYABLE(DeprecatedDisableModifyLayoutTreeStructureAsserts); |
| 2390 | 2394 |
| 2391 public: | 2395 public: |
| 2392 DeprecatedDisableModifyLayoutTreeStructureAsserts(); | 2396 DeprecatedDisableModifyLayoutTreeStructureAsserts(); |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2594 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2598 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2595 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2599 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2596 // We don't make object2 an optional parameter so that showLayoutTree | 2600 // We don't make object2 an optional parameter so that showLayoutTree |
| 2597 // can be called from gdb easily. | 2601 // can be called from gdb easily. |
| 2598 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2602 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2599 const blink::LayoutObject* object2); | 2603 const blink::LayoutObject* object2); |
| 2600 | 2604 |
| 2601 #endif | 2605 #endif |
| 2602 | 2606 |
| 2603 #endif // LayoutObject_h | 2607 #endif // LayoutObject_h |
| OLD | NEW |