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

Side by Side Diff: Source/core/rendering/RenderTextControlSingleLine.h

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderTextControl.cpp ('k') | Source/core/rendering/RenderTextControlSingleLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698