| 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 Node* node() const | 503 Node* node() const |
| 504 { | 504 { |
| 505 return isAnonymous() ? 0 : m_node.get(); | 505 return isAnonymous() ? 0 : m_node.get(); |
| 506 } | 506 } |
| 507 | 507 |
| 508 Node* nonPseudoNode() const | 508 Node* nonPseudoNode() const |
| 509 { | 509 { |
| 510 return node(); | 510 return node(); |
| 511 } | 511 } |
| 512 | 512 |
| 513 // FIXME: Why does RenderWidget need this? | |
| 514 void clearNode() { m_node = nullptr; } | |
| 515 | |
| 516 // FIXME(sky): remove this. | 513 // FIXME(sky): remove this. |
| 517 Node* generatingNode() const { return node(); } | 514 Node* generatingNode() const { return node(); } |
| 518 | 515 |
| 519 Document& document() const { return m_node->document(); } | 516 Document& document() const { return m_node->document(); } |
| 520 LocalFrame* frame() const { return document().frame(); } | 517 LocalFrame* frame() const { return document().frame(); } |
| 521 | 518 |
| 522 // Returns the object containing this one. Can be different from parent for
positioned elements. | 519 // Returns the object containing this one. Can be different from parent for
positioned elements. |
| 523 // If paintInvalidationContainer and paintInvalidationContainerSkipped are n
ot null, on return *paintInvalidationContainerSkipped | 520 // If paintInvalidationContainer and paintInvalidationContainerSkipped are n
ot null, on return *paintInvalidationContainerSkipped |
| 524 // is true if the renderer returned is an ancestor of paintInvalidationConta
iner. | 521 // is true if the renderer returned is an ancestor of paintInvalidationConta
iner. |
| 525 RenderObject* container(const RenderLayerModelObject* paintInvalidationConta
iner = 0, bool* paintInvalidationContainerSkipped = 0) const; | 522 RenderObject* container(const RenderLayerModelObject* paintInvalidationConta
iner = 0, bool* paintInvalidationContainerSkipped = 0) const; |
| (...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1343 void showTree(const blink::RenderObject*); | 1340 void showTree(const blink::RenderObject*); |
| 1344 void showLineTree(const blink::RenderObject*); | 1341 void showLineTree(const blink::RenderObject*); |
| 1345 void showRenderTree(const blink::RenderObject* object1); | 1342 void showRenderTree(const blink::RenderObject* object1); |
| 1346 // We don't make object2 an optional parameter so that showRenderTree | 1343 // We don't make object2 an optional parameter so that showRenderTree |
| 1347 // can be called from gdb easily. | 1344 // can be called from gdb easily. |
| 1348 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1345 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1349 | 1346 |
| 1350 #endif | 1347 #endif |
| 1351 | 1348 |
| 1352 #endif // RenderObject_h | 1349 #endif // RenderObject_h |
| OLD | NEW |