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

Side by Side Diff: Source/core/rendering/RenderTextControl.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
« no previous file with comments | « Source/core/rendering/RenderSlider.cpp ('k') | Source/core/rendering/RenderTextControl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 15 matching lines...) Expand all
26 #include "core/rendering/RenderFlexibleBox.h" 26 #include "core/rendering/RenderFlexibleBox.h"
27 27
28 namespace WebCore { 28 namespace WebCore {
29 29
30 class HTMLTextFormControlElement; 30 class HTMLTextFormControlElement;
31 31
32 class RenderTextControl : public RenderBlock { 32 class RenderTextControl : public RenderBlock {
33 public: 33 public:
34 virtual ~RenderTextControl(); 34 virtual ~RenderTextControl();
35 35
36 HTMLTextFormControlElement* textFormControlElement() const; 36 Result<HTMLTextFormControlElement> textFormControlElement() const;
37 virtual PassRefPtr<RenderStyle> createInnerTextStyle(const RenderStyle* star tStyle) const = 0; 37 virtual PassRefPtr<RenderStyle> createInnerTextStyle(const RenderStyle* star tStyle) const = 0;
38 38
39 protected: 39 protected:
40 RenderTextControl(Element*); 40 RenderTextControl(Element*);
41 41
42 // This convenience function should not be made public because innerTextElem ent may outlive the render tree. 42 // This convenience function should not be made public because innerTextElem ent may outlive the render tree.
43 HTMLElement* innerTextElement() const; 43 HTMLElement* innerTextElement() const;
44 44
45 int scrollbarThickness() const; 45 int scrollbarThickness() const;
46 void adjustInnerTextStyle(const RenderStyle* startStyle, RenderStyle* textBl ockStyle) const; 46 void adjustInnerTextStyle(const RenderStyle* startStyle, RenderStyle* textBl ockStyle) const;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 virtual int firstLineBoxBaseline() const OVERRIDE { return RenderBlock::firs tLineBoxBaseline(); } 114 virtual int firstLineBoxBaseline() const OVERRIDE { return RenderBlock::firs tLineBoxBaseline(); }
115 virtual int inlineBlockBaseline(LineDirectionMode direction) const OVERRIDE { return RenderBlock::inlineBlockBaseline(direction); } 115 virtual int inlineBlockBaseline(LineDirectionMode direction) const OVERRIDE { return RenderBlock::inlineBlockBaseline(direction); }
116 116
117 }; 117 };
118 118
119 119
120 } // namespace WebCore 120 } // namespace WebCore
121 121
122 #endif // RenderTextControl_h 122 #endif // RenderTextControl_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderSlider.cpp ('k') | Source/core/rendering/RenderTextControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698