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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
381 frame->spellChecker().didEndEditingOnTextField(this); | 381 frame->spellChecker().didEndEditingOnTextField(this); |
382 frame->host()->chrome().client().didEndEditingOnTextField(*this); | 382 frame->host()->chrome().client().didEndEditingOnTextField(*this); |
383 } | 383 } |
384 | 384 |
385 void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, FocusType ty pe) | 385 void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, FocusType ty pe) |
386 { | 386 { |
387 m_inputTypeView->handleFocusEvent(oldFocusedElement, type); | 387 m_inputTypeView->handleFocusEvent(oldFocusedElement, type); |
388 m_inputType->enableSecureTextInput(); | 388 m_inputType->enableSecureTextInput(); |
389 } | 389 } |
390 | 390 |
391 void HTMLInputElement::dispatchFocusInEvent(const AtomicString& eventType, Eleme nt* oldFocusedElement, FocusType type) | |
392 { | |
393 if (eventType == EventTypeNames::DOMFocusIn) | |
tkent
2014/09/11 23:52:55
Two spaces after == should be one.
Habib Virji
2014/09/12 08:18:25
Done.
| |
394 m_inputTypeView->handleFocusInEvent(oldFocusedElement, type); | |
395 HTMLFormControlElementWithState::dispatchFocusInEvent(eventType, oldFocusedE lement, type); | |
396 } | |
397 | |
391 void HTMLInputElement::handleBlurEvent() | 398 void HTMLInputElement::handleBlurEvent() |
392 { | 399 { |
393 m_inputType->disableSecureTextInput(); | 400 m_inputType->disableSecureTextInput(); |
394 m_inputTypeView->handleBlurEvent(); | 401 m_inputTypeView->handleBlurEvent(); |
395 } | 402 } |
396 | 403 |
397 void HTMLInputElement::setType(const AtomicString& type) | 404 void HTMLInputElement::setType(const AtomicString& type) |
398 { | 405 { |
399 setAttribute(typeAttr, type); | 406 setAttribute(typeAttr, type); |
400 } | 407 } |
(...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1894 { | 1901 { |
1895 listAttributeTargetChanged(); | 1902 listAttributeTargetChanged(); |
1896 } | 1903 } |
1897 | 1904 |
1898 AXObject* HTMLInputElement::popupRootAXObject() | 1905 AXObject* HTMLInputElement::popupRootAXObject() |
1899 { | 1906 { |
1900 return m_inputTypeView->popupRootAXObject(); | 1907 return m_inputTypeView->popupRootAXObject(); |
1901 } | 1908 } |
1902 | 1909 |
1903 } // namespace | 1910 } // namespace |
OLD | NEW |