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 1715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1726 | 1726 |
1727 // When this object is invalidated for paint, this method is called to | 1727 // When this object is invalidated for paint, this method is called to |
1728 // invalidate any DisplayItemClients owned by this object, including the | 1728 // invalidate any DisplayItemClients owned by this object, including the |
1729 // object itself, LayoutText/LayoutInline line boxes, etc., | 1729 // object itself, LayoutText/LayoutInline line boxes, etc., |
1730 // not including children which will be invalidated normally during | 1730 // not including children which will be invalidated normally during |
1731 // invalidateTreeIfNeeded() and parts which are invalidated separately (e.g. | 1731 // invalidateTreeIfNeeded() and parts which are invalidated separately (e.g. |
1732 // scrollbars). The caller should ensure the painting layer has been | 1732 // scrollbars). The caller should ensure the painting layer has been |
1733 // setNeedsRepaint before calling this function. | 1733 // setNeedsRepaint before calling this function. |
1734 virtual void InvalidateDisplayItemClients(PaintInvalidationReason) const; | 1734 virtual void InvalidateDisplayItemClients(PaintInvalidationReason) const; |
1735 | 1735 |
| 1736 bool HasCustomScrollbarStyle() const; |
| 1737 |
1736 virtual bool HasNonCompositedScrollbars() const { return false; } | 1738 virtual bool HasNonCompositedScrollbars() const { return false; } |
1737 | 1739 |
1738 // Called before anonymousChild.setStyle(). Override to set custom styles for | 1740 // Called before anonymousChild.setStyle(). Override to set custom styles for |
1739 // the child. | 1741 // the child. |
1740 virtual void UpdateAnonymousChildStyle(const LayoutObject& anonymous_child, | 1742 virtual void UpdateAnonymousChildStyle(const LayoutObject& anonymous_child, |
1741 ComputedStyle& style) const {} | 1743 ComputedStyle& style) const {} |
1742 | 1744 |
1743 // Returns a rect corresponding to this LayoutObject's bounds for use in | 1745 // Returns a rect corresponding to this LayoutObject's bounds for use in |
1744 // debugging output | 1746 // debugging output |
1745 virtual LayoutRect DebugRect() const; | 1747 virtual LayoutRect DebugRect() const; |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2850 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2852 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2851 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2853 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2852 // We don't make object2 an optional parameter so that showLayoutTree | 2854 // We don't make object2 an optional parameter so that showLayoutTree |
2853 // can be called from gdb easily. | 2855 // can be called from gdb easily. |
2854 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2856 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2855 const blink::LayoutObject* object2); | 2857 const blink::LayoutObject* object2); |
2856 | 2858 |
2857 #endif | 2859 #endif |
2858 | 2860 |
2859 #endif // LayoutObject_h | 2861 #endif // LayoutObject_h |
OLD | NEW |