Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: sky/engine/core/rendering/RenderObject.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/rendering/RenderInline.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
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();
156 virtual void trace(Visitor*);
157 156
158 virtual const char* renderName() const = 0; 157 virtual const char* renderName() const = 0;
159 158
160 String debugName() const; 159 String debugName() const;
161 160
162 RenderObject* parent() const { return m_parent; } 161 RenderObject* parent() const { return m_parent; }
163 bool isDescendantOf(const RenderObject*) const; 162 bool isDescendantOf(const RenderObject*) const;
164 163
165 RenderObject* previousSibling() const { return m_previous; } 164 RenderObject* previousSibling() const { return m_previous; }
166 RenderObject* nextSibling() const { return m_next; } 165 RenderObject* nextSibling() const { return m_next; }
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 void showTree(const blink::RenderObject*); 1271 void showTree(const blink::RenderObject*);
1273 void showLineTree(const blink::RenderObject*); 1272 void showLineTree(const blink::RenderObject*);
1274 void showRenderTree(const blink::RenderObject* object1); 1273 void showRenderTree(const blink::RenderObject* object1);
1275 // We don't make object2 an optional parameter so that showRenderTree 1274 // We don't make object2 an optional parameter so that showRenderTree
1276 // can be called from gdb easily. 1275 // can be called from gdb easily.
1277 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 1276 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
1278 1277
1279 #endif 1278 #endif
1280 1279
1281 #endif // RenderObject_h 1280 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderInline.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698