| 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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 } | 304 } |
| 305 | 305 |
| 306 bool ancestorLineBoxDirty() const { return m_bitfields.ancestorLineBoxDirty(
); } | 306 bool ancestorLineBoxDirty() const { return m_bitfields.ancestorLineBoxDirty(
); } |
| 307 void setAncestorLineBoxDirty(bool value = true) | 307 void setAncestorLineBoxDirty(bool value = true) |
| 308 { | 308 { |
| 309 m_bitfields.setAncestorLineBoxDirty(value); | 309 m_bitfields.setAncestorLineBoxDirty(value); |
| 310 if (value) | 310 if (value) |
| 311 setNeedsLayout(); | 311 setNeedsLayout(); |
| 312 } | 312 } |
| 313 | 313 |
| 314 // Returns the smallest rectangle enclosing all of the painted content | |
| 315 // respecting clipping, masking, filters, opacity, stroke-width and markers | |
| 316 virtual FloatRect paintInvalidationRectInLocalCoordinates() const; | |
| 317 | |
| 318 // SVG uses FloatPoint precise hit testing, and passes the point in parent | 314 // SVG uses FloatPoint precise hit testing, and passes the point in parent |
| 319 // coordinates instead of in paint invalidaiton container coordinates. Event
ually the | 315 // coordinates instead of in paint invalidaiton container coordinates. Event
ually the |
| 320 // rest of the rendering tree will move to a similar model. | 316 // rest of the rendering tree will move to a similar model. |
| 321 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction); | 317 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction); |
| 322 | 318 |
| 323 bool canHaveWhitespaceChildren() const | 319 bool canHaveWhitespaceChildren() const |
| 324 { | 320 { |
| 325 return !isFlexibleBox(); | 321 return !isFlexibleBox(); |
| 326 } | 322 } |
| 327 | 323 |
| (...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 void showTree(const blink::RenderObject*); | 977 void showTree(const blink::RenderObject*); |
| 982 void showLineTree(const blink::RenderObject*); | 978 void showLineTree(const blink::RenderObject*); |
| 983 void showRenderTree(const blink::RenderObject* object1); | 979 void showRenderTree(const blink::RenderObject* object1); |
| 984 // We don't make object2 an optional parameter so that showRenderTree | 980 // We don't make object2 an optional parameter so that showRenderTree |
| 985 // can be called from gdb easily. | 981 // can be called from gdb easily. |
| 986 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 982 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 987 | 983 |
| 988 #endif | 984 #endif |
| 989 | 985 |
| 990 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ | 986 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ |
| OLD | NEW |