| 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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1127 | 1127 |
| 1128 void HTMLInputElement::defaultEventHandler(Event* evt) | 1128 void HTMLInputElement::defaultEventHandler(Event* evt) |
| 1129 { | 1129 { |
| 1130 if (evt->isMouseEvent() && evt->type() == eventNames().clickEvent && toMouse
Event(evt)->button() == LeftButton) { | 1130 if (evt->isMouseEvent() && evt->type() == eventNames().clickEvent && toMouse
Event(evt)->button() == LeftButton) { |
| 1131 m_inputTypeView->handleClickEvent(toMouseEvent(evt)); | 1131 m_inputTypeView->handleClickEvent(toMouseEvent(evt)); |
| 1132 if (evt->defaultHandled()) | 1132 if (evt->defaultHandled()) |
| 1133 return; | 1133 return; |
| 1134 } | 1134 } |
| 1135 | 1135 |
| 1136 if (evt->isTouchEvent()) { | 1136 if (evt->isTouchEvent()) { |
| 1137 m_inputTypeView->handleTouchEvent(static_cast<TouchEvent*>(evt)); | 1137 m_inputTypeView->handleTouchEvent(toTouchEvent(evt)); |
| 1138 if (evt->defaultHandled()) | 1138 if (evt->defaultHandled()) |
| 1139 return; | 1139 return; |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 if (evt->isKeyboardEvent() && evt->type() == eventNames().keydownEvent) { | 1142 if (evt->isKeyboardEvent() && evt->type() == eventNames().keydownEvent) { |
| 1143 m_inputTypeView->handleKeydownEvent(toKeyboardEvent(evt)); | 1143 m_inputTypeView->handleKeydownEvent(toKeyboardEvent(evt)); |
| 1144 if (evt->defaultHandled()) | 1144 if (evt->defaultHandled()) |
| 1145 return; | 1145 return; |
| 1146 } | 1146 } |
| 1147 | 1147 |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1884 } | 1884 } |
| 1885 | 1885 |
| 1886 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 1886 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 1887 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() | 1887 PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
| 1888 { | 1888 { |
| 1889 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); | 1889 return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); |
| 1890 } | 1890 } |
| 1891 #endif | 1891 #endif |
| 1892 | 1892 |
| 1893 } // namespace | 1893 } // namespace |
| OLD | NEW |