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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 }; | 91 }; |
92 | 92 |
93 enum MapCoordinatesMode { | 93 enum MapCoordinatesMode { |
94 IsFixed = 1 << 0, | 94 IsFixed = 1 << 0, |
95 UseTransforms = 1 << 1, | 95 UseTransforms = 1 << 1, |
96 ApplyContainerFlip = 1 << 2, | 96 ApplyContainerFlip = 1 << 2, |
97 TraverseDocumentBoundaries = 1 << 3, | 97 TraverseDocumentBoundaries = 1 << 3, |
98 }; | 98 }; |
99 typedef unsigned MapCoordinatesFlags; | 99 typedef unsigned MapCoordinatesFlags; |
100 | 100 |
| 101 enum ScheduleRelayoutBehavior { |
| 102 ScheduleRelayout, |
| 103 DontScheduleRelayout |
| 104 }; |
| 105 |
101 const LayoutUnit& caretWidth(); | 106 const LayoutUnit& caretWidth(); |
102 | 107 |
103 struct AnnotatedRegionValue { | 108 struct AnnotatedRegionValue { |
104 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 109 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
105 bool operator==(const AnnotatedRegionValue& o) const | 110 bool operator==(const AnnotatedRegionValue& o) const |
106 { | 111 { |
107 return draggable == o.draggable && bounds == o.bounds; | 112 return draggable == o.draggable && bounds == o.bounds; |
108 } | 113 } |
109 | 114 |
110 LayoutRect bounds; | 115 LayoutRect bounds; |
(...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2124 void showTree(const blink::LayoutObject*); | 2129 void showTree(const blink::LayoutObject*); |
2125 void showLineTree(const blink::LayoutObject*); | 2130 void showLineTree(const blink::LayoutObject*); |
2126 void showLayoutTree(const blink::LayoutObject* object1); | 2131 void showLayoutTree(const blink::LayoutObject* object1); |
2127 // We don't make object2 an optional parameter so that showLayoutTree | 2132 // We don't make object2 an optional parameter so that showLayoutTree |
2128 // can be called from gdb easily. | 2133 // can be called from gdb easily. |
2129 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2134 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2130 | 2135 |
2131 #endif | 2136 #endif |
2132 | 2137 |
2133 #endif // LayoutObject_h | 2138 #endif // LayoutObject_h |
OLD | NEW |