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 1845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1856 // Overrides should call the superclass at the start. |oldStyle| will be 0 the | 1856 // Overrides should call the superclass at the start. |oldStyle| will be 0 the |
1857 // first time this function is called. | 1857 // first time this function is called. |
1858 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle); | 1858 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle); |
1859 void propagateStyleToAnonymousChildren(); | 1859 void propagateStyleToAnonymousChildren(); |
1860 // Return true for objects that don't want style changes automatically | 1860 // Return true for objects that don't want style changes automatically |
1861 // propagated via propagateStyleToAnonymousChildren(), but rather rely on | 1861 // propagated via propagateStyleToAnonymousChildren(), but rather rely on |
1862 // other custom mechanisms (if they need to be notified of parent style | 1862 // other custom mechanisms (if they need to be notified of parent style |
1863 // changes at all). | 1863 // changes at all). |
1864 virtual bool anonymousHasStylePropagationOverride() { return false; } | 1864 virtual bool anonymousHasStylePropagationOverride() { return false; } |
1865 | 1865 |
| 1866 // Allows objects to adjust |visualEffect|, which is in the space of the |
| 1867 // paint invalidation container, for any special raster effects that might |
| 1868 // expand the rastered pixel area. |
| 1869 virtual void adjustVisualRectForRasterEffects(LayoutRect& visualRect) const {} |
| 1870 |
1866 protected: | 1871 protected: |
1867 // This function is called before calling the destructor so that some clean-up | 1872 // This function is called before calling the destructor so that some clean-up |
1868 // can happen regardless of whether they call a virtual function or not. As a | 1873 // can happen regardless of whether they call a virtual function or not. As a |
1869 // rule of thumb, this function should be preferred to the destructor. See | 1874 // rule of thumb, this function should be preferred to the destructor. See |
1870 // destroy() that is the one calling willBeDestroyed(). | 1875 // destroy() that is the one calling willBeDestroyed(). |
1871 // | 1876 // |
1872 // There are 2 types of destructions: regular destructions and tree tear-down. | 1877 // There are 2 types of destructions: regular destructions and tree tear-down. |
1873 // Regular destructions happen when the renderer is not needed anymore (e.g. | 1878 // Regular destructions happen when the renderer is not needed anymore (e.g. |
1874 // 'display' changed or the DOM Node was removed). | 1879 // 'display' changed or the DOM Node was removed). |
1875 // Tree tear-down is when the whole tree destroyed during navigation. It is | 1880 // Tree tear-down is when the whole tree destroyed during navigation. It is |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2597 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2602 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2598 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2603 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2599 // We don't make object2 an optional parameter so that showLayoutTree | 2604 // We don't make object2 an optional parameter so that showLayoutTree |
2600 // can be called from gdb easily. | 2605 // can be called from gdb easily. |
2601 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2606 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2602 const blink::LayoutObject* object2); | 2607 const blink::LayoutObject* object2); |
2603 | 2608 |
2604 #endif | 2609 #endif |
2605 | 2610 |
2606 #endif // LayoutObject_h | 2611 #endif // LayoutObject_h |
OLD | NEW |