| 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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 727 if (RuntimeEnabledFeatures::speechInputEnabled() && m_inputType->shouldR
espectSpeechAttribute()) { | 727 if (RuntimeEnabledFeatures::speechInputEnabled() && m_inputType->shouldR
espectSpeechAttribute()) { |
| 728 // This renderer and its children have quite different layouts and | 728 // This renderer and its children have quite different layouts and |
| 729 // styles depending on whether the speech button is visible or | 729 // styles depending on whether the speech button is visible or |
| 730 // not. So we reset the whole thing and recreate to get the right | 730 // not. So we reset the whole thing and recreate to get the right |
| 731 // styles and layout. | 731 // styles and layout. |
| 732 m_inputTypeView->destroyShadowSubtree(); | 732 m_inputTypeView->destroyShadowSubtree(); |
| 733 lazyReattachIfAttached(); | 733 lazyReattachIfAttached(); |
| 734 m_inputTypeView->createShadowSubtree(); | 734 m_inputTypeView->createShadowSubtree(); |
| 735 setFormControlValueMatchesRenderer(false); | 735 setFormControlValueMatchesRenderer(false); |
| 736 } | 736 } |
| 737 UseCounter::count(document(), UseCounter::PrefixedSpeechAttribute); | 737 UseCounter::countDeprecation(document(), UseCounter::PrefixedSpeechAttri
bute); |
| 738 } else if (name == onwebkitspeechchangeAttr) | 738 } else if (name == onwebkitspeechchangeAttr) |
| 739 setAttributeEventListener(EventTypeNames::webkitspeechchange, createAttr
ibuteEventListener(this, name, value)); | 739 setAttributeEventListener(EventTypeNames::webkitspeechchange, createAttr
ibuteEventListener(this, name, value)); |
| 740 #endif | 740 #endif |
| 741 else if (name == webkitdirectoryAttr) { | 741 else if (name == webkitdirectoryAttr) { |
| 742 HTMLTextFormControlElement::parseAttribute(name, value); | 742 HTMLTextFormControlElement::parseAttribute(name, value); |
| 743 UseCounter::count(document(), UseCounter::PrefixedDirectoryAttribute); | 743 UseCounter::count(document(), UseCounter::PrefixedDirectoryAttribute); |
| 744 } | 744 } |
| 745 else | 745 else |
| 746 HTMLTextFormControlElement::parseAttribute(name, value); | 746 HTMLTextFormControlElement::parseAttribute(name, value); |
| 747 m_inputTypeView->attributeChanged(); | 747 m_inputTypeView->attributeChanged(); |
| (...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1863 } | 1863 } |
| 1864 | 1864 |
| 1865 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1865 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 1866 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() | 1866 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
| 1867 { | 1867 { |
| 1868 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); | 1868 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); |
| 1869 } | 1869 } |
| 1870 #endif | 1870 #endif |
| 1871 | 1871 |
| 1872 } // namespace | 1872 } // namespace |
| OLD | NEW |