| 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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 } else | 356 } else |
| 357 HTMLTextFormControlElement::updateFocusAppearance(restorePreviousSelecti
on); | 357 HTMLTextFormControlElement::updateFocusAppearance(restorePreviousSelecti
on); |
| 358 } | 358 } |
| 359 | 359 |
| 360 void HTMLInputElement::beginEditing() | 360 void HTMLInputElement::beginEditing() |
| 361 { | 361 { |
| 362 if (!isTextField()) | 362 if (!isTextField()) |
| 363 return; | 363 return; |
| 364 | 364 |
| 365 if (Frame* frame = document()->frame()) | 365 if (Frame* frame = document()->frame()) |
| 366 frame->editor()->textFieldDidBeginEditing(this); | 366 frame->editor()->textAreaOrTextFieldDidBeginEditing(this); |
| 367 } | 367 } |
| 368 | 368 |
| 369 void HTMLInputElement::endEditing() | 369 void HTMLInputElement::endEditing() |
| 370 { | 370 { |
| 371 if (!isTextField()) | 371 if (!isTextField()) |
| 372 return; | 372 return; |
| 373 | 373 |
| 374 if (Frame* frame = document()->frame()) | 374 if (Frame* frame = document()->frame()) |
| 375 frame->editor()->textFieldDidEndEditing(this); | 375 frame->editor()->textFieldDidEndEditing(this); |
| 376 } | 376 } |
| (...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1868 } | 1868 } |
| 1869 | 1869 |
| 1870 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1870 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 1871 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() | 1871 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
| 1872 { | 1872 { |
| 1873 return m_inputType->customStyleForRenderer(originalStyleForRenderer()); | 1873 return m_inputType->customStyleForRenderer(originalStyleForRenderer()); |
| 1874 } | 1874 } |
| 1875 #endif | 1875 #endif |
| 1876 | 1876 |
| 1877 } // namespace | 1877 } // namespace |
| OLD | NEW |