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. |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 , m_inputTypeView(m_inputType) | 125 , m_inputTypeView(m_inputType) |
126 { | 126 { |
127 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 127 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
128 setHasCustomStyleCallbacks(); | 128 setHasCustomStyleCallbacks(); |
129 #endif | 129 #endif |
130 ScriptWrappable::init(this); | 130 ScriptWrappable::init(this); |
131 } | 131 } |
132 | 132 |
133 PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& docu
ment, HTMLFormElement* form, bool createdByParser) | 133 PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& docu
ment, HTMLFormElement* form, bool createdByParser) |
134 { | 134 { |
135 RefPtrWillBeRawPtr<HTMLInputElement> inputElement = adoptRefWillBeRefCounted
GarbageCollected(new HTMLInputElement(document, form, createdByParser)); | 135 RefPtrWillBeRawPtr<HTMLInputElement> inputElement = adoptRefWillBeNoop(new H
TMLInputElement(document, form, createdByParser)); |
136 inputElement->ensureUserAgentShadowRoot(); | 136 inputElement->ensureUserAgentShadowRoot(); |
137 return inputElement.release(); | 137 return inputElement.release(); |
138 } | 138 } |
139 | 139 |
140 void HTMLInputElement::trace(Visitor* visitor) | 140 void HTMLInputElement::trace(Visitor* visitor) |
141 { | 141 { |
142 visitor->trace(m_inputType); | 142 visitor->trace(m_inputType); |
143 visitor->trace(m_inputTypeView); | 143 visitor->trace(m_inputTypeView); |
144 visitor->trace(m_listAttributeTargetObserver); | 144 visitor->trace(m_listAttributeTargetObserver); |
145 visitor->trace(m_imageLoader); | 145 visitor->trace(m_imageLoader); |
(...skipping 1713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1859 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); | 1859 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); |
1860 } | 1860 } |
1861 #endif | 1861 #endif |
1862 | 1862 |
1863 bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, St
ring& newValue) | 1863 bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, St
ring& newValue) |
1864 { | 1864 { |
1865 return m_inputType->shouldDispatchFormControlChangeEvent(oldValue, newValue)
; | 1865 return m_inputType->shouldDispatchFormControlChangeEvent(oldValue, newValue)
; |
1866 } | 1866 } |
1867 | 1867 |
1868 } // namespace | 1868 } // namespace |
OLD | NEW |