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

Side by Side Diff: Source/core/rendering/RenderTextControlMultiLine.cpp

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours Created 7 years, 7 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
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,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #include "config.h" 22 #include "config.h"
23 #include "core/rendering/RenderTextControlMultiLine.h" 23 #include "core/rendering/RenderTextControlMultiLine.h"
24 24
25 #include "HTMLNames.h"
26 #include "core/dom/shadow/ShadowRoot.h"
27 #include "core/html/HTMLTextAreaElement.h" 25 #include "core/html/HTMLTextAreaElement.h"
28 #include "core/html/shadow/TextControlInnerElements.h"
29 #include "core/page/Frame.h"
30 #include "core/rendering/HitTestResult.h" 26 #include "core/rendering/HitTestResult.h"
31 #include "core/rendering/style/StyleInheritedData.h"
32 27
33 namespace WebCore { 28 namespace WebCore {
34 29
35 RenderTextControlMultiLine::RenderTextControlMultiLine(Element* element) 30 RenderTextControlMultiLine::RenderTextControlMultiLine(Element* element)
36 : RenderTextControl(element) 31 : RenderTextControl(element)
37 { 32 {
38 } 33 }
39 34
40 RenderTextControlMultiLine::~RenderTextControlMultiLine() 35 RenderTextControlMultiLine::~RenderTextControlMultiLine()
41 { 36 {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 return placeholderRenderer; 100 return placeholderRenderer;
106 RenderBox* placeholderBox = toRenderBox(placeholderRenderer); 101 RenderBox* placeholderBox = toRenderBox(placeholderRenderer);
107 placeholderBox->style()->setLogicalWidth(Length(contentLogicalWidth() - plac eholderBox->borderAndPaddingLogicalWidth(), Fixed)); 102 placeholderBox->style()->setLogicalWidth(Length(contentLogicalWidth() - plac eholderBox->borderAndPaddingLogicalWidth(), Fixed));
108 placeholderBox->layoutIfNeeded(); 103 placeholderBox->layoutIfNeeded();
109 placeholderBox->setX(borderLeft() + paddingLeft()); 104 placeholderBox->setX(borderLeft() + paddingLeft());
110 placeholderBox->setY(borderTop() + paddingTop()); 105 placeholderBox->setY(borderTop() + paddingTop());
111 return placeholderRenderer; 106 return placeholderRenderer;
112 } 107 }
113 108
114 } 109 }
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