| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 #endif | 130 #endif |
| 131 | 131 |
| 132 // Base class for all rendering tree objects. | 132 // Base class for all rendering tree objects. |
| 133 class RenderObject : public ImageResourceClient { | 133 class RenderObject : public ImageResourceClient { |
| 134 friend class RenderBlock; | 134 friend class RenderBlock; |
| 135 friend class RenderBlockFlow; | 135 friend class RenderBlockFlow; |
| 136 friend class RenderLayer; // For setParent. | 136 friend class RenderLayer; // For setParent. |
| 137 friend class RenderLayerReflectionInfo; // For setParent | 137 friend class RenderLayerReflectionInfo; // For setParent |
| 138 friend class RenderLayerScrollableArea; // For setParent. | 138 friend class RenderLayerScrollableArea; // For setParent. |
| 139 friend class RenderObjectChildList; | 139 friend class RenderObjectChildList; |
| 140 WTF_MAKE_NONCOPYABLE(RenderObject); |
| 140 public: | 141 public: |
| 141 // Anonymous objects should pass the document as their node, and they will t
hen automatically be | 142 // Anonymous objects should pass the document as their node, and they will t
hen automatically be |
| 142 // marked as anonymous in the constructor. | 143 // marked as anonymous in the constructor. |
| 143 explicit RenderObject(Node*); | 144 explicit RenderObject(Node*); |
| 144 virtual ~RenderObject(); | 145 virtual ~RenderObject(); |
| 145 | 146 |
| 146 virtual const char* renderName() const = 0; | 147 virtual const char* renderName() const = 0; |
| 147 | 148 |
| 148 String debugName() const; | 149 String debugName() const; |
| 149 | 150 |
| (...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 void showTree(const WebCore::RenderObject*); | 1411 void showTree(const WebCore::RenderObject*); |
| 1411 void showLineTree(const WebCore::RenderObject*); | 1412 void showLineTree(const WebCore::RenderObject*); |
| 1412 void showRenderTree(const WebCore::RenderObject* object1); | 1413 void showRenderTree(const WebCore::RenderObject* object1); |
| 1413 // We don't make object2 an optional parameter so that showRenderTree | 1414 // We don't make object2 an optional parameter so that showRenderTree |
| 1414 // can be called from gdb easily. | 1415 // can be called from gdb easily. |
| 1415 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1416 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1416 | 1417 |
| 1417 #endif | 1418 #endif |
| 1418 | 1419 |
| 1419 #endif // RenderObject_h | 1420 #endif // RenderObject_h |
| OLD | NEW |