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

Side by Side Diff: Source/core/html/HTMLTextAreaElement.cpp

Issue 15422005: Remove unused includes from core/html .cpp files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv ed.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 10 matching lines...) Expand all
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02110-1301, USA. 22 * Boston, MA 02110-1301, USA.
23 * 23 *
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/html/HTMLTextAreaElement.h" 27 #include "core/html/HTMLTextAreaElement.h"
28 28
29 #include "CSSValueKeywords.h" 29 #include "CSSValueKeywords.h"
30 #include "HTMLNames.h" 30 #include "HTMLNames.h"
31 #include "core/dom/Attribute.h"
32 #include "core/dom/BeforeTextInsertedEvent.h" 31 #include "core/dom/BeforeTextInsertedEvent.h"
33 #include "core/dom/Document.h" 32 #include "core/dom/Document.h"
34 #include "core/dom/Event.h" 33 #include "core/dom/Event.h"
35 #include "core/dom/EventNames.h" 34 #include "core/dom/EventNames.h"
36 #include "core/dom/ExceptionCode.h" 35 #include "core/dom/ExceptionCode.h"
37 #include "core/dom/ExceptionCodePlaceholder.h" 36 #include "core/dom/ExceptionCodePlaceholder.h"
38 #include "core/dom/Text.h" 37 #include "core/dom/Text.h"
39 #include "core/dom/shadow/ElementShadow.h"
40 #include "core/dom/shadow/ShadowRoot.h" 38 #include "core/dom/shadow/ShadowRoot.h"
41 #include "core/editing/Editor.h"
42 #include "core/editing/FrameSelection.h" 39 #include "core/editing/FrameSelection.h"
43 #include "core/editing/TextIterator.h" 40 #include "core/editing/TextIterator.h"
44 #include "core/html/FormController.h" 41 #include "core/html/FormController.h"
45 #include "core/html/FormDataList.h" 42 #include "core/html/FormDataList.h"
46 #include "core/html/shadow/TextControlInnerElements.h" 43 #include "core/html/shadow/TextControlInnerElements.h"
47 #include "core/page/EventHandler.h"
48 #include "core/page/Frame.h" 44 #include "core/page/Frame.h"
49 #include "core/platform/LocalizedStrings.h" 45 #include "core/platform/LocalizedStrings.h"
50 #include "core/rendering/RenderTextControlMultiLine.h" 46 #include "core/rendering/RenderTextControlMultiLine.h"
51 #include <wtf/StdLibExtras.h> 47 #include <wtf/StdLibExtras.h>
52 #include <wtf/text/StringBuilder.h> 48 #include <wtf/text/StringBuilder.h>
53 49
54 namespace WebCore { 50 namespace WebCore {
55 51
56 using namespace HTMLNames; 52 using namespace HTMLNames;
57 53
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 RefPtr<HTMLDivElement> placeholder = HTMLDivElement::create(document()); 549 RefPtr<HTMLDivElement> placeholder = HTMLDivElement::create(document());
554 m_placeholder = placeholder.get(); 550 m_placeholder = placeholder.get();
555 m_placeholder->setPseudo(AtomicString("-webkit-input-placeholder", Atomi cString::ConstructFromLiteral)); 551 m_placeholder->setPseudo(AtomicString("-webkit-input-placeholder", Atomi cString::ConstructFromLiteral));
556 userAgentShadowRoot()->insertBefore(m_placeholder, innerTextElement()->n extSibling(), ASSERT_NO_EXCEPTION); 552 userAgentShadowRoot()->insertBefore(m_placeholder, innerTextElement()->n extSibling(), ASSERT_NO_EXCEPTION);
557 } 553 }
558 m_placeholder->setInnerText(placeholderText, ASSERT_NO_EXCEPTION); 554 m_placeholder->setInnerText(placeholderText, ASSERT_NO_EXCEPTION);
559 fixPlaceholderRenderer(m_placeholder, innerTextElement()); 555 fixPlaceholderRenderer(m_placeholder, innerTextElement());
560 } 556 }
561 557
562 } 558 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTemplateElement.cpp ('k') | Source/core/html/HTMLTextFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698