| 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 1526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1537 return IsFlexibleBox() || IsDeprecatedFlexibleBox(); | 1537 return IsFlexibleBox() || IsDeprecatedFlexibleBox(); |
| 1538 } | 1538 } |
| 1539 | 1539 |
| 1540 virtual bool IsCombineText() const { return false; } | 1540 virtual bool IsCombineText() const { return false; } |
| 1541 | 1541 |
| 1542 virtual int CaretMinOffset() const; | 1542 virtual int CaretMinOffset() const; |
| 1543 virtual int CaretMaxOffset() const; | 1543 virtual int CaretMaxOffset() const; |
| 1544 | 1544 |
| 1545 // ImageResourceClient override. | 1545 // ImageResourceClient override. |
| 1546 void ImageChanged(ImageResourceContent*, const IntRect* = nullptr) final; | 1546 void ImageChanged(ImageResourceContent*, const IntRect* = nullptr) final; |
| 1547 void ImageChanged(WrappedImagePtr, const IntRect* = nullptr) override {} |
| 1547 bool WillRenderImage() final; | 1548 bool WillRenderImage() final; |
| 1548 bool GetImageAnimationPolicy(ImageAnimationPolicy&) final; | 1549 bool GetImageAnimationPolicy(ImageAnimationPolicy&) final; |
| 1549 | 1550 |
| 1550 // Sub-classes that have an associated image need to override this function | |
| 1551 // to get notified of any image change. | |
| 1552 virtual void ImageChanged(WrappedImagePtr, const IntRect* = nullptr) {} | |
| 1553 | |
| 1554 std::pair<int, int> SelectionStartEnd() const; | 1551 std::pair<int, int> SelectionStartEnd() const; |
| 1555 | 1552 |
| 1556 void Remove() { | 1553 void Remove() { |
| 1557 if (Parent()) | 1554 if (Parent()) |
| 1558 Parent()->RemoveChild(this); | 1555 Parent()->RemoveChild(this); |
| 1559 } | 1556 } |
| 1560 | 1557 |
| 1561 bool VisibleToHitTestRequest(const HitTestRequest& request) const { | 1558 bool VisibleToHitTestRequest(const HitTestRequest& request) const { |
| 1562 return Style()->Visibility() == EVisibility::kVisible && | 1559 return Style()->Visibility() == EVisibility::kVisible && |
| 1563 (request.IgnorePointerEventsNone() || | 1560 (request.IgnorePointerEventsNone() || |
| (...skipping 1280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2844 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2841 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2845 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2842 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2846 // We don't make object2 an optional parameter so that showLayoutTree | 2843 // We don't make object2 an optional parameter so that showLayoutTree |
| 2847 // can be called from gdb easily. | 2844 // can be called from gdb easily. |
| 2848 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2845 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2849 const blink::LayoutObject* object2); | 2846 const blink::LayoutObject* object2); |
| 2850 | 2847 |
| 2851 #endif | 2848 #endif |
| 2852 | 2849 |
| 2853 #endif // LayoutObject_h | 2850 #endif // LayoutObject_h |
| OLD | NEW |