OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
3 * (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 private: | 71 private: |
72 virtual const char* renderName() const { return "RenderTextControl"; } | 72 virtual const char* renderName() const { return "RenderTextControl"; } |
73 virtual bool isTextControl() const { return true; } | 73 virtual bool isTextControl() const { return true; } |
74 virtual bool supportsPartialLayout() const OVERRIDE { return false; } | 74 virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
75 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE; | 75 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo
utUnit& maxLogicalWidth) const OVERRIDE; |
76 virtual void computePreferredLogicalWidths() OVERRIDE; | 76 virtual void computePreferredLogicalWidths() OVERRIDE; |
77 virtual void removeLeftoverAnonymousBlock(RenderBlock*) { } | 77 virtual void removeLeftoverAnonymousBlock(RenderBlock*) { } |
78 virtual bool avoidsFloats() const { return true; } | 78 virtual bool avoidsFloats() const { return true; } |
79 virtual bool canHaveGeneratedChildren() const OVERRIDE { return false; } | 79 virtual bool canHaveGeneratedChildren() const OVERRIDE { return false; } |
80 virtual bool canBeReplacedWithInlineRunIn() const OVERRIDE; | |
81 | 80 |
82 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
OVERRIDE FINAL; | 81 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
OVERRIDE FINAL; |
83 | 82 |
84 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; | 83 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition
alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; |
85 | 84 |
86 virtual bool canBeProgramaticallyScrolled() const { return true; } | 85 virtual bool canBeProgramaticallyScrolled() const { return true; } |
87 | 86 |
88 virtual bool requiresForcedStyleRecalcPropagation() const { return true; } | 87 virtual bool requiresForcedStyleRecalcPropagation() const { return true; } |
89 }; | 88 }; |
90 | 89 |
(...skipping 16 matching lines...) Expand all Loading... |
107 } | 106 } |
108 virtual int firstLineBoxBaseline() const OVERRIDE { return RenderBlock::firs
tLineBoxBaseline(); } | 107 virtual int firstLineBoxBaseline() const OVERRIDE { return RenderBlock::firs
tLineBoxBaseline(); } |
109 virtual int inlineBlockBaseline(LineDirectionMode direction) const OVERRIDE
{ return lastLineBoxBaseline(direction); } | 108 virtual int inlineBlockBaseline(LineDirectionMode direction) const OVERRIDE
{ return lastLineBoxBaseline(direction); } |
110 virtual bool supportsPartialLayout() const OVERRIDE { return false; } | 109 virtual bool supportsPartialLayout() const OVERRIDE { return false; } |
111 }; | 110 }; |
112 | 111 |
113 | 112 |
114 } // namespace WebCore | 113 } // namespace WebCore |
115 | 114 |
116 #endif // RenderTextControl_h | 115 #endif // RenderTextControl_h |
OLD | NEW |