| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "core/layout/compositing/CompositingState.h" | 44 #include "core/layout/compositing/CompositingState.h" |
| 45 #include "core/layout/compositing/CompositingTriggers.h" | 45 #include "core/layout/compositing/CompositingTriggers.h" |
| 46 #include "core/style/ComputedStyle.h" | 46 #include "core/style/ComputedStyle.h" |
| 47 #include "core/style/StyleInheritedData.h" | 47 #include "core/style/StyleInheritedData.h" |
| 48 #include "platform/geometry/FloatQuad.h" | 48 #include "platform/geometry/FloatQuad.h" |
| 49 #include "platform/geometry/LayoutRect.h" | 49 #include "platform/geometry/LayoutRect.h" |
| 50 #include "platform/graphics/CompositingReasons.h" | 50 #include "platform/graphics/CompositingReasons.h" |
| 51 #include "platform/graphics/PaintInvalidationReason.h" | 51 #include "platform/graphics/PaintInvalidationReason.h" |
| 52 #include "platform/graphics/paint/DisplayItemClient.h" | 52 #include "platform/graphics/paint/DisplayItemClient.h" |
| 53 #include "platform/transforms/TransformationMatrix.h" | 53 #include "platform/transforms/TransformationMatrix.h" |
| 54 #include <iosfwd> // NOLINT |
| 54 | 55 |
| 55 namespace blink { | 56 namespace blink { |
| 56 | 57 |
| 57 class AffineTransform; | 58 class AffineTransform; |
| 58 class Cursor; | 59 class Cursor; |
| 59 class Document; | 60 class Document; |
| 60 class HitTestLocation; | 61 class HitTestLocation; |
| 61 class HitTestResult; | 62 class HitTestResult; |
| 62 class InlineBox; | 63 class InlineBox; |
| 63 class LayoutBoxModelObject; | 64 class LayoutBoxModelObject; |
| (...skipping 2091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2155 | 2156 |
| 2156 inline double adjustScrollForAbsoluteZoom(double value, LayoutObject& layoutObje
ct) | 2157 inline double adjustScrollForAbsoluteZoom(double value, LayoutObject& layoutObje
ct) |
| 2157 { | 2158 { |
| 2158 ASSERT(layoutObject.style()); | 2159 ASSERT(layoutObject.style()); |
| 2159 return adjustScrollForAbsoluteZoom(value, *layoutObject.style()); | 2160 return adjustScrollForAbsoluteZoom(value, *layoutObject.style()); |
| 2160 } | 2161 } |
| 2161 | 2162 |
| 2162 #define DEFINE_LAYOUT_OBJECT_TYPE_CASTS(thisType, predicate) \ | 2163 #define DEFINE_LAYOUT_OBJECT_TYPE_CASTS(thisType, predicate) \ |
| 2163 DEFINE_TYPE_CASTS(thisType, LayoutObject, object, object->predicate, object.
predicate) | 2164 DEFINE_TYPE_CASTS(thisType, LayoutObject, object, object->predicate, object.
predicate) |
| 2164 | 2165 |
| 2166 CORE_EXPORT std::ostream& operator<<(std::ostream&, const LayoutObject&); |
| 2167 CORE_EXPORT std::ostream& operator<<(std::ostream&, LayoutObject*); |
| 2168 |
| 2165 } // namespace blink | 2169 } // namespace blink |
| 2166 | 2170 |
| 2167 #ifndef NDEBUG | 2171 #ifndef NDEBUG |
| 2168 // Outside the WebCore namespace for ease of invocation from gdb. | 2172 // Outside the WebCore namespace for ease of invocation from gdb. |
| 2169 void showTree(const blink::LayoutObject*); | 2173 void showTree(const blink::LayoutObject*); |
| 2170 void showLineTree(const blink::LayoutObject*); | 2174 void showLineTree(const blink::LayoutObject*); |
| 2171 void showLayoutTree(const blink::LayoutObject* object1); | 2175 void showLayoutTree(const blink::LayoutObject* object1); |
| 2172 // We don't make object2 an optional parameter so that showLayoutTree | 2176 // We don't make object2 an optional parameter so that showLayoutTree |
| 2173 // can be called from gdb easily. | 2177 // can be called from gdb easily. |
| 2174 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2178 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2175 | 2179 |
| 2176 #endif | 2180 #endif |
| 2177 | 2181 |
| 2178 #endif // LayoutObject_h | 2182 #endif // LayoutObject_h |
| OLD | NEW |