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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 setNeedsValidityCheck(); | 513 setNeedsValidityCheck(); |
514 if ((couldBeSuccessfulSubmitButton || canBeSuccessfulSubmitButton()) && form
Owner() && inShadowIncludingDocument()) | 514 if ((couldBeSuccessfulSubmitButton || canBeSuccessfulSubmitButton()) && form
Owner() && inShadowIncludingDocument()) |
515 formOwner()->invalidateDefaultButtonStyle(); | 515 formOwner()->invalidateDefaultButtonStyle(); |
516 notifyFormStateChanged(); | 516 notifyFormStateChanged(); |
517 } | 517 } |
518 | 518 |
519 void HTMLInputElement::subtreeHasChanged() | 519 void HTMLInputElement::subtreeHasChanged() |
520 { | 520 { |
521 m_inputTypeView->subtreeHasChanged(); | 521 m_inputTypeView->subtreeHasChanged(); |
522 // When typing in an input field, childrenChanged is not called, so we need
to force the directionality check. | 522 // When typing in an input field, childrenChanged is not called, so we need
to force the directionality check. |
523 calculateAndAdjustDirectionality(); | 523 updateForDirAuto(); |
524 } | 524 } |
525 | 525 |
526 const AtomicString& HTMLInputElement::formControlType() const | 526 const AtomicString& HTMLInputElement::formControlType() const |
527 { | 527 { |
528 return m_inputType->formControlType(); | 528 return m_inputType->formControlType(); |
529 } | 529 } |
530 | 530 |
531 bool HTMLInputElement::shouldSaveAndRestoreFormControlState() const | 531 bool HTMLInputElement::shouldSaveAndRestoreFormControlState() const |
532 { | 532 { |
533 if (!m_inputType->shouldSaveAndRestoreFormControlState()) | 533 if (!m_inputType->shouldSaveAndRestoreFormControlState()) |
(...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1917 void HTMLInputElement::ensurePrimaryContent() | 1917 void HTMLInputElement::ensurePrimaryContent() |
1918 { | 1918 { |
1919 m_inputTypeView->ensurePrimaryContent(); | 1919 m_inputTypeView->ensurePrimaryContent(); |
1920 } | 1920 } |
1921 | 1921 |
1922 bool HTMLInputElement::hasFallbackContent() const | 1922 bool HTMLInputElement::hasFallbackContent() const |
1923 { | 1923 { |
1924 return m_inputTypeView->hasFallbackContent(); | 1924 return m_inputTypeView->hasFallbackContent(); |
1925 } | 1925 } |
1926 } // namespace blink | 1926 } // namespace blink |
OLD | NEW |