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 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
917 // Set the style of the object and update the state of the object accordingl
y. | 917 // Set the style of the object and update the state of the object accordingl
y. |
918 void setStyle(PassRefPtr<ComputedStyle>); | 918 void setStyle(PassRefPtr<ComputedStyle>); |
919 | 919 |
920 // Set the style of the object if it's generated content. | 920 // Set the style of the object if it's generated content. |
921 void setPseudoStyle(PassRefPtr<ComputedStyle>); | 921 void setPseudoStyle(PassRefPtr<ComputedStyle>); |
922 | 922 |
923 // Updates only the local style ptr of the object. Does not update the stat
e of the object, | 923 // Updates only the local style ptr of the object. Does not update the stat
e of the object, |
924 // and so only should be called when the style is known not to have changed
(or from setStyle). | 924 // and so only should be called when the style is known not to have changed
(or from setStyle). |
925 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; } | 925 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; } |
926 | 926 |
| 927 void setStyleWithWritingModeOf(PassRefPtr<ComputedStyle>, LayoutObject* pare
nt); |
927 void setStyleWithWritingModeOfParent(PassRefPtr<ComputedStyle>); | 928 void setStyleWithWritingModeOfParent(PassRefPtr<ComputedStyle>); |
928 void addChildWithWritingModeOfParent(LayoutObject* newChild, LayoutObject* b
eforeChild); | 929 void addChildWithWritingModeOfParent(LayoutObject* newChild, LayoutObject* b
eforeChild); |
929 | 930 |
930 void firstLineStyleDidChange(const ComputedStyle& oldStyle, const ComputedSt
yle& newStyle); | 931 void firstLineStyleDidChange(const ComputedStyle& oldStyle, const ComputedSt
yle& newStyle); |
931 | 932 |
932 void clearBaseComputedStyle(); | 933 void clearBaseComputedStyle(); |
933 | 934 |
934 // This function returns an enclosing non-anonymous LayoutBlock for this | 935 // This function returns an enclosing non-anonymous LayoutBlock for this |
935 // element. | 936 // element. |
936 // This function is not always returning the containing block as defined by | 937 // This function is not always returning the containing block as defined by |
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2157 void showTree(const blink::LayoutObject*); | 2158 void showTree(const blink::LayoutObject*); |
2158 void showLineTree(const blink::LayoutObject*); | 2159 void showLineTree(const blink::LayoutObject*); |
2159 void showLayoutTree(const blink::LayoutObject* object1); | 2160 void showLayoutTree(const blink::LayoutObject* object1); |
2160 // We don't make object2 an optional parameter so that showLayoutTree | 2161 // We don't make object2 an optional parameter so that showLayoutTree |
2161 // can be called from gdb easily. | 2162 // can be called from gdb easily. |
2162 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2163 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2163 | 2164 |
2164 #endif | 2165 #endif |
2165 | 2166 |
2166 #endif // LayoutObject_h | 2167 #endif // LayoutObject_h |
OLD | NEW |