| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 bool draggable; | 135 bool draggable; |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 typedef WTF::HashMap<const RenderLayer*, Vector<LayoutRect> > LayerHitTestRects; | 138 typedef WTF::HashMap<const RenderLayer*, Vector<LayoutRect> > LayerHitTestRects; |
| 139 | 139 |
| 140 #ifndef NDEBUG | 140 #ifndef NDEBUG |
| 141 const int showTreeCharacterOffset = 39; | 141 const int showTreeCharacterOffset = 39; |
| 142 #endif | 142 #endif |
| 143 | 143 |
| 144 // Base class for all rendering tree objects. | 144 // Base class for all rendering tree objects. |
| 145 class RenderObject : public DummyBase<RenderObject>, public ImageResourceClient
{ | 145 class RenderObject : public ImageResourceClient { |
| 146 friend class RenderBlock; | 146 friend class RenderBlock; |
| 147 friend class RenderBlockFlow; | 147 friend class RenderBlockFlow; |
| 148 friend class RenderLayerScrollableArea; // For setParent. | 148 friend class RenderLayerScrollableArea; // For setParent. |
| 149 friend class RenderObjectChildList; | 149 friend class RenderObjectChildList; |
| 150 WTF_MAKE_NONCOPYABLE(RenderObject); | 150 WTF_MAKE_NONCOPYABLE(RenderObject); |
| 151 public: | 151 public: |
| 152 // Anonymous objects should pass the document as their node, and they will t
hen automatically be | 152 // Anonymous objects should pass the document as their node, and they will t
hen automatically be |
| 153 // marked as anonymous in the constructor. | 153 // marked as anonymous in the constructor. |
| 154 explicit RenderObject(Node*); | 154 explicit RenderObject(Node*); |
| 155 virtual ~RenderObject(); | 155 virtual ~RenderObject(); |
| (...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 void showTree(const blink::RenderObject*); | 1321 void showTree(const blink::RenderObject*); |
| 1322 void showLineTree(const blink::RenderObject*); | 1322 void showLineTree(const blink::RenderObject*); |
| 1323 void showRenderTree(const blink::RenderObject* object1); | 1323 void showRenderTree(const blink::RenderObject* object1); |
| 1324 // We don't make object2 an optional parameter so that showRenderTree | 1324 // We don't make object2 an optional parameter so that showRenderTree |
| 1325 // can be called from gdb easily. | 1325 // can be called from gdb easily. |
| 1326 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1326 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1327 | 1327 |
| 1328 #endif | 1328 #endif |
| 1329 | 1329 |
| 1330 #endif // RenderObject_h | 1330 #endif // RenderObject_h |
| OLD | NEW |