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. All r ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 729 // Set the style of the object and update the state of the object accordingl y. | 729 // Set the style of the object and update the state of the object accordingl y. |
| 730 void setStyle(PassRefPtr<ComputedStyle>); | 730 void setStyle(PassRefPtr<ComputedStyle>); |
| 731 | 731 |
| 732 // Set the style of the object if it's generated content. | 732 // Set the style of the object if it's generated content. |
| 733 void setPseudoStyle(PassRefPtr<ComputedStyle>); | 733 void setPseudoStyle(PassRefPtr<ComputedStyle>); |
| 734 | 734 |
| 735 // Updates only the local style ptr of the object. Does not update the stat e of the object, | 735 // Updates only the local style ptr of the object. Does not update the stat e of the object, |
| 736 // and so only should be called when the style is known not to have changed (or from setStyle). | 736 // and so only should be called when the style is known not to have changed (or from setStyle). |
| 737 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; } | 737 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; } |
| 738 | 738 |
| 739 void firstLineStyleDidChange(const ComputedStyle& oldStyle, const ComputedSt yle& newStyle); | |
|
mstensho (USE GERRIT)
2015/06/30 08:25:22
Could you try to match the declaration point with
rune
2015/06/30 09:39:40
Done.
| |
| 740 | |
| 739 // returns the containing block level element for this element. | 741 // returns the containing block level element for this element. |
| 740 LayoutBlock* containingBlock() const; | 742 LayoutBlock* containingBlock() const; |
| 741 | 743 |
| 742 bool canContainFixedPositionObjects() const | 744 bool canContainFixedPositionObjects() const |
| 743 { | 745 { |
| 744 return isLayoutView() || (hasTransformRelatedProperty() && isLayoutBlock ()) || isSVGForeignObject(); | 746 return isLayoutView() || (hasTransformRelatedProperty() && isLayoutBlock ()) || isSVGForeignObject(); |
| 745 } | 747 } |
| 746 | 748 |
| 747 // Convert the given local point to absolute coordinates | 749 // Convert the given local point to absolute coordinates |
| 748 // FIXME: Temporary. If UseTransforms is true, take transforms into account. Eventually localToAbsolute() will always be transform-aware. | 750 // FIXME: Temporary. If UseTransforms is true, take transforms into account. Eventually localToAbsolute() will always be transform-aware. |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1658 void showTree(const blink::LayoutObject*); | 1660 void showTree(const blink::LayoutObject*); |
| 1659 void showLineTree(const blink::LayoutObject*); | 1661 void showLineTree(const blink::LayoutObject*); |
| 1660 void showLayoutTree(const blink::LayoutObject* object1); | 1662 void showLayoutTree(const blink::LayoutObject* object1); |
| 1661 // We don't make object2 an optional parameter so that showLayoutTree | 1663 // We don't make object2 an optional parameter so that showLayoutTree |
| 1662 // can be called from gdb easily. | 1664 // can be called from gdb easily. |
| 1663 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); | 1665 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); |
| 1664 | 1666 |
| 1665 #endif | 1667 #endif |
| 1666 | 1668 |
| 1667 #endif // LayoutObject_h | 1669 #endif // LayoutObject_h |
| OLD | NEW |