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

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 15027005: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 months 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
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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 virtual RenderBlock* firstLineBlock() const; 242 virtual RenderBlock* firstLineBlock() const;
243 243
244 // Called when an object that was floating or positioned becomes a normal fl ow object 244 // Called when an object that was floating or positioned becomes a normal fl ow object
245 // again. We have to make sure the render tree updates as needed to accommo date the new 245 // again. We have to make sure the render tree updates as needed to accommo date the new
246 // normal flow object. 246 // normal flow object.
247 void handleDynamicFloatPositionChange(); 247 void handleDynamicFloatPositionChange();
248 248
249 // RenderObject tree manipulation 249 // RenderObject tree manipulation
250 ////////////////////////////////////////// 250 //////////////////////////////////////////
251 virtual bool canHaveChildren() const { return virtualChildren(); } 251 virtual bool canHaveChildren() const { return virtualChildren(); }
252 virtual bool canDOMChildrenHaveRenderParent() const { return false; } // Eve n if this render object can't have render children, the children in the DOM tree may have a render parent (that is different from this object).
252 virtual bool canHaveGeneratedChildren() const; 253 virtual bool canHaveGeneratedChildren() const;
253 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true ; } 254 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true ; }
254 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ; 255 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ;
255 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild = 0) { return addChild(newChild, beforeChild); } 256 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild = 0) { return addChild(newChild, beforeChild); }
256 virtual void removeChild(RenderObject*); 257 virtual void removeChild(RenderObject*);
257 virtual bool createsAnonymousWrapper() const { return false; } 258 virtual bool createsAnonymousWrapper() const { return false; }
258 ////////////////////////////////////////// 259 //////////////////////////////////////////
259 260
260 virtual void reportMemoryUsage(MemoryObjectInfo*) const; 261 virtual void reportMemoryUsage(MemoryObjectInfo*) const;
261 262
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 // Outside the WebCore namespace for ease of invocation from gdb. 1332 // Outside the WebCore namespace for ease of invocation from gdb.
1332 void showTree(const WebCore::RenderObject*); 1333 void showTree(const WebCore::RenderObject*);
1333 void showLineTree(const WebCore::RenderObject*); 1334 void showLineTree(const WebCore::RenderObject*);
1334 void showRenderTree(const WebCore::RenderObject* object1); 1335 void showRenderTree(const WebCore::RenderObject* object1);
1335 // We don't make object2 an optional parameter so that showRenderTree 1336 // We don't make object2 an optional parameter so that showRenderTree
1336 // can be called from gdb easily. 1337 // can be called from gdb easily.
1337 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1338 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1338 #endif 1339 #endif
1339 1340
1340 #endif // RenderObject_h 1341 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698