| 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 setChecked(checked); | 801 setChecked(checked); |
| 802 m_reflectsCheckedAttribute = true; | 802 m_reflectsCheckedAttribute = true; |
| 803 } | 803 } |
| 804 } | 804 } |
| 805 | 805 |
| 806 bool HTMLInputElement::rendererIsNeeded(const NodeRenderingContext& context) | 806 bool HTMLInputElement::rendererIsNeeded(const NodeRenderingContext& context) |
| 807 { | 807 { |
| 808 return m_inputType->rendererIsNeeded() && HTMLTextFormControlElement::render
erIsNeeded(context); | 808 return m_inputType->rendererIsNeeded() && HTMLTextFormControlElement::render
erIsNeeded(context); |
| 809 } | 809 } |
| 810 | 810 |
| 811 RenderObject* HTMLInputElement::createRenderer(RenderArena* arena, RenderStyle*
style) | 811 RenderObject* HTMLInputElement::createRenderer(RenderStyle* style) |
| 812 { | 812 { |
| 813 return m_inputType->createRenderer(arena, style); | 813 return m_inputType->createRenderer(style); |
| 814 } | 814 } |
| 815 | 815 |
| 816 void HTMLInputElement::attach(const AttachContext& context) | 816 void HTMLInputElement::attach(const AttachContext& context) |
| 817 { | 817 { |
| 818 PostAttachCallbackDisabler disabler(this); | 818 PostAttachCallbackDisabler disabler(this); |
| 819 | 819 |
| 820 if (!m_hasType) | 820 if (!m_hasType) |
| 821 updateType(); | 821 updateType(); |
| 822 | 822 |
| 823 HTMLTextFormControlElement::attach(context); | 823 HTMLTextFormControlElement::attach(context); |
| (...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1918 } | 1918 } |
| 1919 | 1919 |
| 1920 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1920 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 1921 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() | 1921 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
| 1922 { | 1922 { |
| 1923 return m_inputType->customStyleForRenderer(originalStyleForRenderer()); | 1923 return m_inputType->customStyleForRenderer(originalStyleForRenderer()); |
| 1924 } | 1924 } |
| 1925 #endif | 1925 #endif |
| 1926 | 1926 |
| 1927 } // namespace | 1927 } // namespace |
| OLD | NEW |