| 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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 // (see above). Unfortunately we don't have such a class yet, because it's not | 642 // (see above). Unfortunately we don't have such a class yet, because it's not |
| 643 // possible for all layoutObjects to inherit from LayoutSVGObject -> | 643 // possible for all layoutObjects to inherit from LayoutSVGObject -> |
| 644 // LayoutObject (some need LayoutBlock inheritance for instance) | 644 // LayoutObject (some need LayoutBlock inheritance for instance) |
| 645 virtual void setNeedsTransformUpdate() {} | 645 virtual void setNeedsTransformUpdate() {} |
| 646 virtual void setNeedsBoundariesUpdate(); | 646 virtual void setNeedsBoundariesUpdate(); |
| 647 | 647 |
| 648 bool isBlendingAllowed() const { | 648 bool isBlendingAllowed() const { |
| 649 return !isSVG() || (isSVGContainer() && !isSVGHiddenContainer()) || | 649 return !isSVG() || (isSVGContainer() && !isSVGHiddenContainer()) || |
| 650 isSVGShape() || isSVGImage() || isSVGText(); | 650 isSVGShape() || isSVGImage() || isSVGText(); |
| 651 } | 651 } |
| 652 virtual bool hasNonIsolatedBlendingDescendants() const { return false; } | 652 virtual bool hasNonIsolatedBlendingDescendants() const { |
| 653 // SVG only. For non-SVG objects, query PaintLayer instead. |
| 654 NOTREACHED(); |
| 655 return false; |
| 656 } |
| 653 enum DescendantIsolationState { | 657 enum DescendantIsolationState { |
| 654 DescendantIsolationRequired, | 658 DescendantIsolationRequired, |
| 655 DescendantIsolationNeedsUpdate, | 659 DescendantIsolationNeedsUpdate, |
| 656 }; | 660 }; |
| 657 virtual void descendantIsolationRequirementsChanged( | 661 virtual void descendantIsolationRequirementsChanged( |
| 658 DescendantIsolationState) {} | 662 DescendantIsolationState) {} |
| 659 | 663 |
| 660 // Per SVG 1.1 objectBoundingBox ignores clipping, masking, filter effects, | 664 // Per SVG 1.1 objectBoundingBox ignores clipping, masking, filter effects, |
| 661 // opacity and stroke-width. | 665 // opacity and stroke-width. |
| 662 // This is used for all computation of objectBoundingBox relative units and by | 666 // This is used for all computation of objectBoundingBox relative units and by |
| (...skipping 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2656 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2660 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2657 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2661 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2658 // We don't make object2 an optional parameter so that showLayoutTree | 2662 // We don't make object2 an optional parameter so that showLayoutTree |
| 2659 // can be called from gdb easily. | 2663 // can be called from gdb easily. |
| 2660 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2664 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2661 const blink::LayoutObject* object2); | 2665 const blink::LayoutObject* object2); |
| 2662 | 2666 |
| 2663 #endif | 2667 #endif |
| 2664 | 2668 |
| 2665 #endif // LayoutObject_h | 2669 #endif // LayoutObject_h |
| OLD | NEW |