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

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

Issue 10538049: Merge 118711 - Can't edit <input> elements with :first-letter (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 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 Apple Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 virtual RenderBlock* firstLineBlock() const; 234 virtual RenderBlock* firstLineBlock() const;
235 235
236 // Called when an object that was floating or positioned becomes a normal fl ow object 236 // Called when an object that was floating or positioned becomes a normal fl ow object
237 // again. We have to make sure the render tree updates as needed to accommo date the new 237 // again. We have to make sure the render tree updates as needed to accommo date the new
238 // normal flow object. 238 // normal flow object.
239 void handleDynamicFloatPositionChange(); 239 void handleDynamicFloatPositionChange();
240 240
241 // RenderObject tree manipulation 241 // RenderObject tree manipulation
242 ////////////////////////////////////////// 242 //////////////////////////////////////////
243 virtual bool canHaveChildren() const { return virtualChildren(); } 243 virtual bool canHaveChildren() const { return virtualChildren(); }
244 virtual bool canHaveGeneratedChildren() const;
244 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true ; } 245 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true ; }
245 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ; 246 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) ;
246 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild = 0) { return addChild(newChild, beforeChild); } 247 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje ct* beforeChild = 0) { return addChild(newChild, beforeChild); }
247 virtual void removeChild(RenderObject*); 248 virtual void removeChild(RenderObject*);
248 virtual bool createsAnonymousWrapper() const { return false; } 249 virtual bool createsAnonymousWrapper() const { return false; }
249 ////////////////////////////////////////// 250 //////////////////////////////////////////
250 251
251 protected: 252 protected:
252 ////////////////////////////////////////// 253 //////////////////////////////////////////
253 // Helper functions. Dangerous to use! 254 // Helper functions. Dangerous to use!
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 // Outside the WebCore namespace for ease of invocation from gdb. 1217 // Outside the WebCore namespace for ease of invocation from gdb.
1217 void showTree(const WebCore::RenderObject*); 1218 void showTree(const WebCore::RenderObject*);
1218 void showLineTree(const WebCore::RenderObject*); 1219 void showLineTree(const WebCore::RenderObject*);
1219 void showRenderTree(const WebCore::RenderObject* object1); 1220 void showRenderTree(const WebCore::RenderObject* object1);
1220 // We don't make object2 an optional parameter so that showRenderTree 1221 // We don't make object2 an optional parameter so that showRenderTree
1221 // can be called from gdb easily. 1222 // can be called from gdb easily.
1222 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1223 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1223 #endif 1224 #endif
1224 1225
1225 #endif // RenderObject_h 1226 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderDeprecatedFlexibleBox.h ('k') | Source/WebCore/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698