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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 virtual bool isImage() const { return false; } | 260 virtual bool isImage() const { return false; } |
261 virtual bool isInlineBlock() const { return false; } | 261 virtual bool isInlineBlock() const { return false; } |
262 virtual bool isLayerModelObject() const { return false; } | 262 virtual bool isLayerModelObject() const { return false; } |
263 virtual bool isRenderBlock() const { return false; } | 263 virtual bool isRenderBlock() const { return false; } |
264 virtual bool isRenderBlockFlow() const { return false; } | 264 virtual bool isRenderBlockFlow() const { return false; } |
265 virtual bool isRenderParagraph() const { return false; } | 265 virtual bool isRenderParagraph() const { return false; } |
266 virtual bool isRenderImage() const { return false; } | 266 virtual bool isRenderImage() const { return false; } |
267 virtual bool isRenderInline() const { return false; } | 267 virtual bool isRenderInline() const { return false; } |
268 virtual bool isRenderView() const { return false; } | 268 virtual bool isRenderView() const { return false; } |
269 | 269 |
270 bool isDocumentElement() const { return document().documentElement() == m_no
de; } | |
271 | |
272 bool everHadLayout() const { return m_bitfields.everHadLayout(); } | 270 bool everHadLayout() const { return m_bitfields.everHadLayout(); } |
273 | 271 |
274 bool alwaysCreateLineBoxesForRenderInline() const | 272 bool alwaysCreateLineBoxesForRenderInline() const |
275 { | 273 { |
276 ASSERT(isRenderInline()); | 274 ASSERT(isRenderInline()); |
277 return m_bitfields.alwaysCreateLineBoxesForRenderInline(); | 275 return m_bitfields.alwaysCreateLineBoxesForRenderInline(); |
278 } | 276 } |
279 void setAlwaysCreateLineBoxesForRenderInline(bool alwaysCreateLineBoxes) | 277 void setAlwaysCreateLineBoxesForRenderInline(bool alwaysCreateLineBoxes) |
280 { | 278 { |
281 ASSERT(isRenderInline()); | 279 ASSERT(isRenderInline()); |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 void showTree(const blink::RenderObject*); | 901 void showTree(const blink::RenderObject*); |
904 void showLineTree(const blink::RenderObject*); | 902 void showLineTree(const blink::RenderObject*); |
905 void showRenderTree(const blink::RenderObject* object1); | 903 void showRenderTree(const blink::RenderObject* object1); |
906 // We don't make object2 an optional parameter so that showRenderTree | 904 // We don't make object2 an optional parameter so that showRenderTree |
907 // can be called from gdb easily. | 905 // can be called from gdb easily. |
908 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 906 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
909 | 907 |
910 #endif | 908 #endif |
911 | 909 |
912 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ | 910 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ |
OLD | NEW |