| OLD | NEW |
| 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, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 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 * Copyright (C) 2010 Google Inc. All rights reserved. | 8 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 11 * | 11 * |
| 12 * This library is free software; you can redistribute it and/or | 12 * This library is free software; you can redistribute it and/or |
| 13 * modify it under the terms of the GNU Library General Public | 13 * modify it under the terms of the GNU Library General Public |
| 14 * License as published by the Free Software Foundation; either | 14 * License as published by the Free Software Foundation; either |
| 15 * version 2 of the License, or (at your option) any later version. | 15 * version 2 of the License, or (at your option) any later version. |
| 16 * | 16 * |
| 17 * This library is distributed in the hope that it will be useful, | 17 * This library is distributed in the hope that it will be useful, |
| 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 * Library General Public License for more details. | 20 * Library General Public License for more details. |
| 21 * | 21 * |
| 22 * You should have received a copy of the GNU Library General Public License | 22 * You should have received a copy of the GNU Library General Public License |
| 23 * along with this library; see the file COPYING.LIB. If not, write to | 23 * along with this library; see the file COPYING.LIB. If not, write to |
| 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 25 * Boston, MA 02110-1301, USA. | 25 * Boston, MA 02110-1301, USA. |
| 26 * | 26 * |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #include "config.h" | 29 #include "config.h" |
| 30 #include "HTMLInputElement.h" | 30 #include "core/html/HTMLInputElement.h" |
| 31 | 31 |
| 32 #include "CSSPropertyNames.h" | 32 #include "CSSPropertyNames.h" |
| 33 #include "CSSValueKeywords.h" | 33 #include "CSSValueKeywords.h" |
| 34 #include "FileInputType.h" | |
| 35 #include "FormController.h" | |
| 36 #include "HTMLCollection.h" | |
| 37 #include "HTMLDataListElement.h" | |
| 38 #include "HTMLFormElement.h" | |
| 39 #include "HTMLImageLoader.h" | |
| 40 #include "HTMLNames.h" | 34 #include "HTMLNames.h" |
| 41 #include "HTMLOptionElement.h" | |
| 42 #include "InputType.h" | |
| 43 #include "SearchInputType.h" | |
| 44 #include "bindings/v8/ScriptEventListener.h" | 35 #include "bindings/v8/ScriptEventListener.h" |
| 45 #include "core/accessibility/AXObjectCache.h" | 36 #include "core/accessibility/AXObjectCache.h" |
| 46 #include "core/css/StyleResolver.h" | 37 #include "core/css/StyleResolver.h" |
| 47 #include "core/dom/BeforeTextInsertedEvent.h" | 38 #include "core/dom/BeforeTextInsertedEvent.h" |
| 48 #include "core/dom/Document.h" | 39 #include "core/dom/Document.h" |
| 49 #include "core/dom/ElementShadow.h" | 40 #include "core/dom/ElementShadow.h" |
| 50 #include "core/dom/EventNames.h" | 41 #include "core/dom/EventNames.h" |
| 51 #include "core/dom/ExceptionCode.h" | 42 #include "core/dom/ExceptionCode.h" |
| 52 #include "core/dom/IdTargetObserver.h" | 43 #include "core/dom/IdTargetObserver.h" |
| 53 #include "core/dom/KeyboardEvent.h" | 44 #include "core/dom/KeyboardEvent.h" |
| 54 #include "core/dom/MouseEvent.h" | 45 #include "core/dom/MouseEvent.h" |
| 55 #include "core/dom/ScopedEventQueue.h" | 46 #include "core/dom/ScopedEventQueue.h" |
| 56 #include "core/dom/ShadowRoot.h" | 47 #include "core/dom/ShadowRoot.h" |
| 57 #include "core/dom/TouchEvent.h" | 48 #include "core/dom/TouchEvent.h" |
| 58 #include "core/editing/Editor.h" | 49 #include "core/editing/Editor.h" |
| 59 #include "core/editing/FrameSelection.h" | 50 #include "core/editing/FrameSelection.h" |
| 60 #include "core/fileapi/FileList.h" | 51 #include "core/fileapi/FileList.h" |
| 52 #include "core/html/FileInputType.h" |
| 53 #include "core/html/FormController.h" |
| 54 #include "core/html/HTMLCollection.h" |
| 55 #include "core/html/HTMLDataListElement.h" |
| 56 #include "core/html/HTMLFormElement.h" |
| 57 #include "core/html/HTMLImageLoader.h" |
| 58 #include "core/html/HTMLOptionElement.h" |
| 59 #include "core/html/InputType.h" |
| 60 #include "core/html/SearchInputType.h" |
| 61 #include "core/html/parser/HTMLParserIdioms.h" | 61 #include "core/html/parser/HTMLParserIdioms.h" |
| 62 #include "core/html/shadow/InsertionPoint.h" | 62 #include "core/html/shadow/InsertionPoint.h" |
| 63 #include "core/page/Frame.h" | 63 #include "core/page/Frame.h" |
| 64 #include "core/page/FrameView.h" | 64 #include "core/page/FrameView.h" |
| 65 #include "core/page/RuntimeEnabledFeatures.h" | 65 #include "core/page/RuntimeEnabledFeatures.h" |
| 66 #include "core/page/UseCounter.h" | 66 #include "core/page/UseCounter.h" |
| 67 #include "core/platform/DateTimeChooser.h" | 67 #include "core/platform/DateTimeChooser.h" |
| 68 #include "core/platform/Language.h" | 68 #include "core/platform/Language.h" |
| 69 #include "core/platform/LocalizedStrings.h" | 69 #include "core/platform/LocalizedStrings.h" |
| 70 #include "core/platform/PlatformMouseEvent.h" | 70 #include "core/platform/PlatformMouseEvent.h" |
| 71 #include "core/platform/text/PlatformLocale.h" | 71 #include "core/platform/text/PlatformLocale.h" |
| 72 #include "core/rendering/RenderTextControlSingleLine.h" | 72 #include "core/rendering/RenderTextControlSingleLine.h" |
| 73 #include "core/rendering/RenderTheme.h" | 73 #include "core/rendering/RenderTheme.h" |
| 74 #include <wtf/MathExtras.h> | 74 #include <wtf/MathExtras.h> |
| 75 #include <wtf/StdLibExtras.h> | 75 #include <wtf/StdLibExtras.h> |
| 76 | 76 |
| 77 #if ENABLE(INPUT_TYPE_COLOR) | 77 #if ENABLE(INPUT_TYPE_COLOR) |
| 78 #include "ColorInputType.h" | 78 #include "core/html/ColorInputType.h" |
| 79 #endif | 79 #endif |
| 80 | 80 |
| 81 #if ENABLE(INPUT_SPEECH) | 81 #if ENABLE(INPUT_SPEECH) |
| 82 #include "core/page/RuntimeEnabledFeatures.h" | 82 #include "core/page/RuntimeEnabledFeatures.h" |
| 83 #endif | 83 #endif |
| 84 | 84 |
| 85 using namespace std; | 85 using namespace std; |
| 86 | 86 |
| 87 namespace WebCore { | 87 namespace WebCore { |
| 88 | 88 |
| (...skipping 1805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1894 } | 1894 } |
| 1895 | 1895 |
| 1896 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1896 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 1897 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() | 1897 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
| 1898 { | 1898 { |
| 1899 return m_inputType->customStyleForRenderer(document()->styleResolver()->styl
eForElement(this)); | 1899 return m_inputType->customStyleForRenderer(document()->styleResolver()->styl
eForElement(this)); |
| 1900 } | 1900 } |
| 1901 #endif | 1901 #endif |
| 1902 | 1902 |
| 1903 } // namespace | 1903 } // namespace |
| OLD | NEW |