OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 27 matching lines...) Expand all Loading... |
38 virtual PassRefPtr<RenderStyle> createInnerTextStyle(const RenderStyle* star
tStyle) const; | 38 virtual PassRefPtr<RenderStyle> createInnerTextStyle(const RenderStyle* star
tStyle) const; |
39 PassRefPtr<RenderStyle> createInnerBlockStyle(const RenderStyle* startStyle)
const; | 39 PassRefPtr<RenderStyle> createInnerBlockStyle(const RenderStyle* startStyle)
const; |
40 | 40 |
41 void capsLockStateMayHaveChanged(); | 41 void capsLockStateMayHaveChanged(); |
42 | 42 |
43 protected: | 43 protected: |
44 virtual void centerContainerIfNeeded(RenderBox*) const { } | 44 virtual void centerContainerIfNeeded(RenderBox*) const { } |
45 virtual LayoutUnit computeLogicalHeightLimit() const; | 45 virtual LayoutUnit computeLogicalHeightLimit() const; |
46 HTMLElement* containerElement() const; | 46 HTMLElement* containerElement() const; |
47 HTMLElement* innerBlockElement() const; | 47 HTMLElement* innerBlockElement() const; |
48 HTMLInputElement* inputElement() const; | 48 Result<HTMLInputElement> inputElement() const; |
49 virtual void updateFromElement() OVERRIDE; | 49 virtual void updateFromElement() OVERRIDE; |
50 | 50 |
51 private: | 51 private: |
52 virtual bool hasControlClip() const; | 52 virtual bool hasControlClip() const; |
53 virtual LayoutRect controlClipRect(const LayoutPoint&) const; | 53 virtual LayoutRect controlClipRect(const LayoutPoint&) const; |
54 virtual bool isTextField() const { return true; } | 54 virtual bool isTextField() const { return true; } |
55 | 55 |
56 virtual void paint(PaintInfo&, const LayoutPoint&); | 56 virtual void paint(PaintInfo&, const LayoutPoint&); |
57 virtual void layout(); | 57 virtual void layout(); |
58 | 58 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 public: | 112 public: |
113 RenderTextControlInnerBlock(Element* element) : RenderBlock(element) { } | 113 RenderTextControlInnerBlock(Element* element) : RenderBlock(element) { } |
114 | 114 |
115 private: | 115 private: |
116 virtual bool hasLineIfEmpty() const { return true; } | 116 virtual bool hasLineIfEmpty() const { return true; } |
117 }; | 117 }; |
118 | 118 |
119 } | 119 } |
120 | 120 |
121 #endif | 121 #endif |
OLD | NEW |