| 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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, | 345 void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, |
| 346 WebFocusType type) { | 346 WebFocusType type) { |
| 347 m_inputTypeView->handleFocusEvent(oldFocusedElement, type); | 347 m_inputTypeView->handleFocusEvent(oldFocusedElement, type); |
| 348 m_inputType->enableSecureTextInput(); | 348 m_inputType->enableSecureTextInput(); |
| 349 } | 349 } |
| 350 | 350 |
| 351 void HTMLInputElement::dispatchFocusInEvent( | 351 void HTMLInputElement::dispatchFocusInEvent( |
| 352 const AtomicString& eventType, | 352 const AtomicString& eventType, |
| 353 Element* oldFocusedElement, | 353 Element* oldFocusedElement, |
| 354 WebFocusType type, | 354 WebFocusType type, |
| 355 InputDeviceCapabilities* sourceCapabilities) { | 355 const InputDeviceCapabilitiesValue& sourceCapabilities) { |
| 356 if (eventType == EventTypeNames::DOMFocusIn) | 356 if (eventType == EventTypeNames::DOMFocusIn) |
| 357 m_inputTypeView->handleFocusInEvent(oldFocusedElement, type); | 357 m_inputTypeView->handleFocusInEvent(oldFocusedElement, type); |
| 358 HTMLFormControlElementWithState::dispatchFocusInEvent( | 358 HTMLFormControlElementWithState::dispatchFocusInEvent( |
| 359 eventType, oldFocusedElement, type, sourceCapabilities); | 359 eventType, oldFocusedElement, type, sourceCapabilities); |
| 360 } | 360 } |
| 361 | 361 |
| 362 void HTMLInputElement::handleBlurEvent() { | 362 void HTMLInputElement::handleBlurEvent() { |
| 363 m_inputType->disableSecureTextInput(); | 363 m_inputType->disableSecureTextInput(); |
| 364 m_inputTypeView->handleBlurEvent(); | 364 m_inputTypeView->handleBlurEvent(); |
| 365 } | 365 } |
| (...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1886 | 1886 |
| 1887 bool HTMLInputElement::hasFallbackContent() const { | 1887 bool HTMLInputElement::hasFallbackContent() const { |
| 1888 return m_inputTypeView->hasFallbackContent(); | 1888 return m_inputTypeView->hasFallbackContent(); |
| 1889 } | 1889 } |
| 1890 | 1890 |
| 1891 void HTMLInputElement::setFilesFromPaths(const Vector<String>& paths) { | 1891 void HTMLInputElement::setFilesFromPaths(const Vector<String>& paths) { |
| 1892 return m_inputType->setFilesFromPaths(paths); | 1892 return m_inputType->setFilesFromPaths(paths); |
| 1893 } | 1893 } |
| 1894 | 1894 |
| 1895 } // namespace blink | 1895 } // namespace blink |
| OLD | NEW |