| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 373         return; | 373         return; | 
| 374 | 374 | 
| 375     if (!isTextField()) | 375     if (!isTextField()) | 
| 376         return; | 376         return; | 
| 377 | 377 | 
| 378     LocalFrame* frame = document().frame(); | 378     LocalFrame* frame = document().frame(); | 
| 379     frame->spellChecker().didEndEditingOnTextField(this); | 379     frame->spellChecker().didEndEditingOnTextField(this); | 
| 380     frame->host()->chrome().client().didEndEditingOnTextField(*this); | 380     frame->host()->chrome().client().didEndEditingOnTextField(*this); | 
| 381 } | 381 } | 
| 382 | 382 | 
| 383 bool HTMLInputElement::shouldUseInputMethod() |  | 
| 384 { |  | 
| 385     return m_inputType->shouldUseInputMethod(); |  | 
| 386 } |  | 
| 387 |  | 
| 388 void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, FocusType ty
      pe) | 383 void HTMLInputElement::handleFocusEvent(Element* oldFocusedElement, FocusType ty
      pe) | 
| 389 { | 384 { | 
| 390     m_inputTypeView->handleFocusEvent(oldFocusedElement, type); | 385     m_inputTypeView->handleFocusEvent(oldFocusedElement, type); | 
| 391     m_inputType->enableSecureTextInput(); | 386     m_inputType->enableSecureTextInput(); | 
| 392 } | 387 } | 
| 393 | 388 | 
| 394 void HTMLInputElement::handleBlurEvent() | 389 void HTMLInputElement::handleBlurEvent() | 
| 395 { | 390 { | 
| 396     m_inputType->disableSecureTextInput(); | 391     m_inputType->disableSecureTextInput(); | 
| 397     m_inputTypeView->handleBlurEvent(); | 392     m_inputTypeView->handleBlurEvent(); | 
| (...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1880     return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); | 1875     return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); | 
| 1881 } | 1876 } | 
| 1882 #endif | 1877 #endif | 
| 1883 | 1878 | 
| 1884 bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, St
      ring& newValue) | 1879 bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, St
      ring& newValue) | 
| 1885 { | 1880 { | 
| 1886     return m_inputType->shouldDispatchFormControlChangeEvent(oldValue, newValue)
      ; | 1881     return m_inputType->shouldDispatchFormControlChangeEvent(oldValue, newValue)
      ; | 
| 1887 } | 1882 } | 
| 1888 | 1883 | 
| 1889 } // namespace | 1884 } // namespace | 
| OLD | NEW | 
|---|