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 903 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 | 914 |
915 bool hitTest(HitTestResult&, const HitTestLocation& locationInContainer, con
st LayoutPoint& accumulatedOffset, HitTestFilter = HitTestAll); | 915 bool hitTest(HitTestResult&, const HitTestLocation& locationInContainer, con
st LayoutPoint& accumulatedOffset, HitTestFilter = HitTestAll); |
916 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&); | 916 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&); |
917 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction); | 917 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction); |
918 | 918 |
919 virtual PositionWithAffinity positionForPoint(const LayoutPoint&); | 919 virtual PositionWithAffinity positionForPoint(const LayoutPoint&); |
920 PositionWithAffinity createPositionWithAffinity(int offset, TextAffinity); | 920 PositionWithAffinity createPositionWithAffinity(int offset, TextAffinity); |
921 PositionWithAffinity createPositionWithAffinity(int offset); | 921 PositionWithAffinity createPositionWithAffinity(int offset); |
922 PositionWithAffinity createPositionWithAffinity(const Position&); | 922 PositionWithAffinity createPositionWithAffinity(const Position&); |
923 | 923 |
924 virtual void dirtyLinesFromChangedChild(LayoutObject*); | 924 virtual void dirtyLinesFromChangedChild(LayoutObject*, MarkingBehavior marki
ngBehaviour = MarkContainerChain); |
925 | 925 |
926 // Set the style of the object and update the state of the object accordingl
y. | 926 // Set the style of the object and update the state of the object accordingl
y. |
927 void setStyle(PassRefPtr<ComputedStyle>); | 927 void setStyle(PassRefPtr<ComputedStyle>); |
928 | 928 |
929 // Set the style of the object if it's generated content. | 929 // Set the style of the object if it's generated content. |
930 void setPseudoStyle(PassRefPtr<ComputedStyle>); | 930 void setPseudoStyle(PassRefPtr<ComputedStyle>); |
931 | 931 |
932 // Updates only the local style ptr of the object. Does not update the stat
e of the object, | 932 // Updates only the local style ptr of the object. Does not update the stat
e of the object, |
933 // and so only should be called when the style is known not to have changed
(or from setStyle). | 933 // and so only should be called when the style is known not to have changed
(or from setStyle). |
934 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; } | 934 void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; } |
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2192 void showTree(const blink::LayoutObject*); | 2192 void showTree(const blink::LayoutObject*); |
2193 void showLineTree(const blink::LayoutObject*); | 2193 void showLineTree(const blink::LayoutObject*); |
2194 void showLayoutTree(const blink::LayoutObject* object1); | 2194 void showLayoutTree(const blink::LayoutObject* object1); |
2195 // We don't make object2 an optional parameter so that showLayoutTree | 2195 // We don't make object2 an optional parameter so that showLayoutTree |
2196 // can be called from gdb easily. | 2196 // can be called from gdb easily. |
2197 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2197 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2198 | 2198 |
2199 #endif | 2199 #endif |
2200 | 2200 |
2201 #endif // LayoutObject_h | 2201 #endif // LayoutObject_h |
OLD | NEW |