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

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

Issue 53373003: Remove display:run-in as per https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_tHSX… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 7 years, 1 month 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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