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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 const LayoutUnit& caretWidth(); | 101 const LayoutUnit& caretWidth(); |
102 | 102 |
103 struct AnnotatedRegionValue { | 103 struct AnnotatedRegionValue { |
104 ALLOW_ONLY_INLINE_ALLOCATION(); | 104 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
105 bool operator==(const AnnotatedRegionValue& o) const | 105 bool operator==(const AnnotatedRegionValue& o) const |
106 { | 106 { |
107 return draggable == o.draggable && bounds == o.bounds; | 107 return draggable == o.draggable && bounds == o.bounds; |
108 } | 108 } |
109 | 109 |
110 LayoutRect bounds; | 110 LayoutRect bounds; |
111 bool draggable; | 111 bool draggable; |
112 }; | 112 }; |
113 | 113 |
114 typedef WTF::HashMap<const PaintLayer*, Vector<LayoutRect>> LayerHitTestRects; | 114 typedef WTF::HashMap<const PaintLayer*, Vector<LayoutRect>> LayerHitTestRects; |
(...skipping 1925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2040 void showTree(const blink::LayoutObject*); | 2040 void showTree(const blink::LayoutObject*); |
2041 void showLineTree(const blink::LayoutObject*); | 2041 void showLineTree(const blink::LayoutObject*); |
2042 void showLayoutTree(const blink::LayoutObject* object1); | 2042 void showLayoutTree(const blink::LayoutObject* object1); |
2043 // We don't make object2 an optional parameter so that showLayoutTree | 2043 // We don't make object2 an optional parameter so that showLayoutTree |
2044 // can be called from gdb easily. | 2044 // can be called from gdb easily. |
2045 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2045 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
2046 | 2046 |
2047 #endif | 2047 #endif |
2048 | 2048 |
2049 #endif // LayoutObject_h | 2049 #endif // LayoutObject_h |
OLD | NEW |