| 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 | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
| 6 * rights reserved. | 6 * rights reserved. |
| 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 8 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) | 8 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) |
| 9 * Copyright (C) 2010 Google Inc. All rights reserved. | 9 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 10 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. | 10 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 DCHECK(input_type_view_); | 692 DCHECK(input_type_view_); |
| 693 const QualifiedName& name = params.name; | 693 const QualifiedName& name = params.name; |
| 694 const AtomicString& value = params.new_value; | 694 const AtomicString& value = params.new_value; |
| 695 | 695 |
| 696 if (name == nameAttr) { | 696 if (name == nameAttr) { |
| 697 RemoveFromRadioButtonGroup(); | 697 RemoveFromRadioButtonGroup(); |
| 698 name_ = value; | 698 name_ = value; |
| 699 AddToRadioButtonGroup(); | 699 AddToRadioButtonGroup(); |
| 700 TextControlElement::ParseAttribute(params); | 700 TextControlElement::ParseAttribute(params); |
| 701 } else if (name == autocompleteAttr) { | 701 } else if (name == autocompleteAttr) { |
| 702 if (EqualIgnoringCase(value, "off")) { | 702 if (DeprecatedEqualIgnoringCase(value, "off")) { |
| 703 autocomplete_ = kOff; | 703 autocomplete_ = kOff; |
| 704 } else { | 704 } else { |
| 705 if (value.IsEmpty()) | 705 if (value.IsEmpty()) |
| 706 autocomplete_ = kUninitialized; | 706 autocomplete_ = kUninitialized; |
| 707 else | 707 else |
| 708 autocomplete_ = kOn; | 708 autocomplete_ = kOn; |
| 709 } | 709 } |
| 710 } else if (name == typeAttr) { | 710 } else if (name == typeAttr) { |
| 711 UpdateType(); | 711 UpdateType(); |
| 712 } else if (name == valueAttr) { | 712 } else if (name == valueAttr) { |
| (...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1887 | 1887 |
| 1888 bool HTMLInputElement::HasFallbackContent() const { | 1888 bool HTMLInputElement::HasFallbackContent() const { |
| 1889 return input_type_view_->HasFallbackContent(); | 1889 return input_type_view_->HasFallbackContent(); |
| 1890 } | 1890 } |
| 1891 | 1891 |
| 1892 void HTMLInputElement::SetFilesFromPaths(const Vector<String>& paths) { | 1892 void HTMLInputElement::SetFilesFromPaths(const Vector<String>& paths) { |
| 1893 return input_type_->SetFilesFromPaths(paths); | 1893 return input_type_->SetFilesFromPaths(paths); |
| 1894 } | 1894 } |
| 1895 | 1895 |
| 1896 } // namespace blink | 1896 } // namespace blink |
| OLD | NEW |