Chromium Code Reviews| 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 1531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 bool WillRenderImage() final; | 1547 bool WillRenderImage() final; |
| 1548 bool GetImageAnimationPolicy(ImageAnimationPolicy&) final; | 1548 bool GetImageAnimationPolicy(ImageAnimationPolicy&) final; |
| 1549 | 1549 |
| 1550 // Sub-classes that have an associated image need to override this function | 1550 // Sub-classes that have an associated image need to override this function |
| 1551 // to get notified of any image change. | 1551 // to get notified of any image change. |
| 1552 virtual void ImageChanged(WrappedImagePtr, const IntRect* = nullptr) {} | 1552 void ImageChanged(WrappedImagePtr, const IntRect* = nullptr) override {} |
|
ikilpatrick
2017/06/13 18:41:00
move up to other ImageChanged override.
| |
| 1553 | 1553 |
| 1554 std::pair<int, int> SelectionStartEnd() const; | 1554 std::pair<int, int> SelectionStartEnd() const; |
| 1555 | 1555 |
| 1556 void Remove() { | 1556 void Remove() { |
| 1557 if (Parent()) | 1557 if (Parent()) |
| 1558 Parent()->RemoveChild(this); | 1558 Parent()->RemoveChild(this); |
| 1559 } | 1559 } |
| 1560 | 1560 |
| 1561 bool VisibleToHitTestRequest(const HitTestRequest& request) const { | 1561 bool VisibleToHitTestRequest(const HitTestRequest& request) const { |
| 1562 return Style()->Visibility() == EVisibility::kVisible && | 1562 return Style()->Visibility() == EVisibility::kVisible && |
| (...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2844 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2844 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2845 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2845 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2846 // We don't make object2 an optional parameter so that showLayoutTree | 2846 // We don't make object2 an optional parameter so that showLayoutTree |
| 2847 // can be called from gdb easily. | 2847 // can be called from gdb easily. |
| 2848 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2848 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2849 const blink::LayoutObject* object2); | 2849 const blink::LayoutObject* object2); |
| 2850 | 2850 |
| 2851 #endif | 2851 #endif |
| 2852 | 2852 |
| 2853 #endif // LayoutObject_h | 2853 #endif // LayoutObject_h |
| OLD | NEW |