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 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1694 } | 1694 } |
1695 | 1695 |
1696 void HTMLInputElement::updateValueIfNeeded() | 1696 void HTMLInputElement::updateValueIfNeeded() |
1697 { | 1697 { |
1698 String newValue = sanitizeValue(m_valueIfDirty); | 1698 String newValue = sanitizeValue(m_valueIfDirty); |
1699 ASSERT(!m_valueIfDirty.isNull() || newValue.isNull()); | 1699 ASSERT(!m_valueIfDirty.isNull() || newValue.isNull()); |
1700 if (newValue != m_valueIfDirty) | 1700 if (newValue != m_valueIfDirty) |
1701 setValue(newValue); | 1701 setValue(newValue); |
1702 } | 1702 } |
1703 | 1703 |
| 1704 bool HTMLInputElement::supportsAutocapitalize() const |
| 1705 { |
| 1706 return m_inputType->supportsAutocapitalize(); |
| 1707 } |
| 1708 |
| 1709 const AtomicString& HTMLInputElement::defaultAutocapitalize() const |
| 1710 { |
| 1711 return m_inputType->defaultAutocapitalize(); |
| 1712 } |
| 1713 |
1704 String HTMLInputElement::defaultToolTip() const | 1714 String HTMLInputElement::defaultToolTip() const |
1705 { | 1715 { |
1706 return m_inputType->defaultToolTip(); | 1716 return m_inputType->defaultToolTip(); |
1707 } | 1717 } |
1708 | 1718 |
1709 bool HTMLInputElement::shouldAppearIndeterminate() const | 1719 bool HTMLInputElement::shouldAppearIndeterminate() const |
1710 { | 1720 { |
1711 return m_inputType->shouldAppearIndeterminate(); | 1721 return m_inputType->shouldAppearIndeterminate(); |
1712 } | 1722 } |
1713 | 1723 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1913 void HTMLInputElement::ensurePrimaryContent() | 1923 void HTMLInputElement::ensurePrimaryContent() |
1914 { | 1924 { |
1915 m_inputTypeView->ensurePrimaryContent(); | 1925 m_inputTypeView->ensurePrimaryContent(); |
1916 } | 1926 } |
1917 | 1927 |
1918 bool HTMLInputElement::hasFallbackContent() const | 1928 bool HTMLInputElement::hasFallbackContent() const |
1919 { | 1929 { |
1920 return m_inputTypeView->hasFallbackContent(); | 1930 return m_inputTypeView->hasFallbackContent(); |
1921 } | 1931 } |
1922 } // namespace | 1932 } // namespace |
OLD | NEW |