OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 bool paintsContinuationOutline(RenderInline*); | 226 bool paintsContinuationOutline(RenderInline*); |
227 | 227 |
228 virtual RenderBoxModelObject* virtualContinuation() const { return continuat
ion(); } | 228 virtual RenderBoxModelObject* virtualContinuation() const { return continuat
ion(); } |
229 bool isAnonymousBlockContinuation() const { return continuation() && isAnony
mousBlock(); } | 229 bool isAnonymousBlockContinuation() const { return continuation() && isAnony
mousBlock(); } |
230 RenderInline* inlineElementContinuation() const; | 230 RenderInline* inlineElementContinuation() const; |
231 RenderBlock* blockElementContinuation() const; | 231 RenderBlock* blockElementContinuation() const; |
232 | 232 |
233 using RenderBoxModelObject::continuation; | 233 using RenderBoxModelObject::continuation; |
234 using RenderBoxModelObject::setContinuation; | 234 using RenderBoxModelObject::setContinuation; |
235 | 235 |
236 // This function is a convenience helper for creating an anonymous block tha
t inherits its | 236 static RenderBlock* createAnonymousWithParentRendererAndDisplay(const Render
Object*, EDisplay = BLOCK); |
237 // style from this RenderBlock. | 237 static RenderBlock* createAnonymousColumnsWithParentRenderer(const RenderObj
ect*); |
238 RenderBlock* createAnonymousBlock(bool isFlexibleBox = false) const; | 238 static RenderBlock* createAnonymousColumnSpanWithParentRenderer(const Render
Object*); |
239 RenderBlock* createAnonymousColumnsBlock() const; | 239 RenderBlock* createAnonymousBlock(EDisplay display = BLOCK) const { return c
reateAnonymousWithParentRendererAndDisplay(this, display); } |
240 RenderBlock* createAnonymousColumnSpanBlock() const; | 240 RenderBlock* createAnonymousColumnsBlock() const { return createAnonymousCol
umnsWithParentRenderer(this); } |
| 241 RenderBlock* createAnonymousColumnSpanBlock() const { return createAnonymous
ColumnSpanWithParentRenderer(this); } |
| 242 |
241 RenderBlock* createAnonymousBlockWithSameTypeAs(RenderBlock* otherAnonymousB
lock) const; | 243 RenderBlock* createAnonymousBlockWithSameTypeAs(RenderBlock* otherAnonymousB
lock) const; |
242 | 244 |
243 static void appendRunsForObject(BidiRunList<BidiRun>&, int start, int end, R
enderObject*, InlineBidiResolver&); | 245 static void appendRunsForObject(BidiRunList<BidiRun>&, int start, int end, R
enderObject*, InlineBidiResolver&); |
244 | 246 |
245 static TextRun constructTextRun(RenderObject* context, const Font&, const St
ring&, RenderStyle*, | 247 static TextRun constructTextRun(RenderObject* context, const Font&, const St
ring&, RenderStyle*, |
246 TextRun::ExpansionBehavior = TextRun::AllowT
railingExpansion | TextRun::ForbidLeadingExpansion, TextRunFlags = DefaultTextRu
nFlags); | 248 TextRun::ExpansionBehavior = TextRun::AllowT
railingExpansion | TextRun::ForbidLeadingExpansion, TextRunFlags = DefaultTextRu
nFlags); |
247 | 249 |
248 static TextRun constructTextRun(RenderObject* context, const Font&, const UC
har*, int length, RenderStyle*, | 250 static TextRun constructTextRun(RenderObject* context, const Font&, const UC
har*, int length, RenderStyle*, |
249 TextRun::ExpansionBehavior = TextRun::AllowT
railingExpansion | TextRun::ForbidLeadingExpansion, TextRunFlags = DefaultTextRu
nFlags); | 251 TextRun::ExpansionBehavior = TextRun::AllowT
railingExpansion | TextRun::ForbidLeadingExpansion, TextRunFlags = DefaultTextRu
nFlags); |
250 | 252 |
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 static String string(const int value); | 1165 static String string(const int value); |
1164 }; | 1166 }; |
1165 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1167 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
1166 static String string(const RenderBlock::FloatingObject*); | 1168 static String string(const RenderBlock::FloatingObject*); |
1167 }; | 1169 }; |
1168 #endif | 1170 #endif |
1169 | 1171 |
1170 } // namespace WebCore | 1172 } // namespace WebCore |
1171 | 1173 |
1172 #endif // RenderBlock_h | 1174 #endif // RenderBlock_h |
OLD | NEW |