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 1398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1409 bool HTMLInputElement::matchesReadWritePseudoClass() const | 1409 bool HTMLInputElement::matchesReadWritePseudoClass() const |
1410 { | 1410 { |
1411 return m_inputType->supportsReadOnly() && !isReadOnly(); | 1411 return m_inputType->supportsReadOnly() && !isReadOnly(); |
1412 } | 1412 } |
1413 | 1413 |
1414 void HTMLInputElement::onSearch() | 1414 void HTMLInputElement::onSearch() |
1415 { | 1415 { |
1416 ASSERT(isSearchField()); | 1416 ASSERT(isSearchField()); |
1417 if (m_inputType) | 1417 if (m_inputType) |
1418 static_cast<SearchInputType*>(m_inputType.get())->stopSearchEventTimer()
; | 1418 static_cast<SearchInputType*>(m_inputType.get())->stopSearchEventTimer()
; |
1419 dispatchEvent(Event::create(eventNames().searchEvent, true, false)); | 1419 dispatchEvent(Event::createBubble(eventNames().searchEvent)); |
1420 } | 1420 } |
1421 | 1421 |
1422 void HTMLInputElement::updateClearButtonVisibility() | 1422 void HTMLInputElement::updateClearButtonVisibility() |
1423 { | 1423 { |
1424 m_inputTypeView->updateClearButtonVisibility(); | 1424 m_inputTypeView->updateClearButtonVisibility(); |
1425 } | 1425 } |
1426 | 1426 |
1427 void HTMLInputElement::willChangeForm() | 1427 void HTMLInputElement::willChangeForm() |
1428 { | 1428 { |
1429 removeFromRadioButtonGroup(); | 1429 removeFromRadioButtonGroup(); |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1874 } | 1874 } |
1875 | 1875 |
1876 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1876 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
1877 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() | 1877 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
1878 { | 1878 { |
1879 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); | 1879 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); |
1880 } | 1880 } |
1881 #endif | 1881 #endif |
1882 | 1882 |
1883 } // namespace | 1883 } // namespace |
OLD | NEW |