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

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: Integrates all feedback. One of the tests causes an ASSERT in ContentShell because of Region Ranges. Created 7 years, 6 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual RenderBlock* firstLineBlock() const; 240 virtual RenderBlock* firstLineBlock() const;
241 241
242 // Called when an object that was floating or positioned becomes a normal fl ow object 242 // Called when an object that was floating or positioned becomes a normal fl ow object
243 // again. We have to make sure the render tree updates as needed to accommo date the new 243 // again. We have to make sure the render tree updates as needed to accommo date the new
244 // normal flow object. 244 // normal flow object.
245 void handleDynamicFloatPositionChange(); 245 void handleDynamicFloatPositionChange();
246 246
247 // RenderObject tree manipulation 247 // RenderObject tree manipulation
248 ////////////////////////////////////////// 248 //////////////////////////////////////////
249 virtual bool canHaveChildren() const { return virtualChildren(); } 249 virtual bool canHaveChildren() const { return virtualChildren(); }
250 virtual bool canDOMChildrenHaveRenderParent() const; // Even if this render object can't have render children, the children in the DOM tree may have a rende r parent (that is different from this object).
250 virtual bool canHaveGeneratedChildren() const; 251 virtual bool canHaveGeneratedChildren() const;
251 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true ; } 252 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true ; }
252 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ; 253 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ;
253 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild = 0) { return addChild(newChild, beforeChild); } 254 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild = 0) { return addChild(newChild, beforeChild); }
254 virtual void removeChild(RenderObject*); 255 virtual void removeChild(RenderObject*);
255 virtual bool createsAnonymousWrapper() const { return false; } 256 virtual bool createsAnonymousWrapper() const { return false; }
256 ////////////////////////////////////////// 257 //////////////////////////////////////////
257 258
258 virtual void reportMemoryUsage(MemoryObjectInfo*) const; 259 virtual void reportMemoryUsage(MemoryObjectInfo*) const;
259 260
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 // Outside the WebCore namespace for ease of invocation from gdb. 1320 // Outside the WebCore namespace for ease of invocation from gdb.
1320 void showTree(const WebCore::RenderObject*); 1321 void showTree(const WebCore::RenderObject*);
1321 void showLineTree(const WebCore::RenderObject*); 1322 void showLineTree(const WebCore::RenderObject*);
1322 void showRenderTree(const WebCore::RenderObject* object1); 1323 void showRenderTree(const WebCore::RenderObject* object1);
1323 // We don't make object2 an optional parameter so that showRenderTree 1324 // We don't make object2 an optional parameter so that showRenderTree
1324 // can be called from gdb easily. 1325 // can be called from gdb easily.
1325 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1326 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1326 #endif 1327 #endif
1327 1328
1328 #endif // RenderObject_h 1329 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698