| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 case WebInputEvent::RawKeyDown: | 122 case WebInputEvent::RawKeyDown: |
| 123 case WebInputEvent::KeyDown: | 123 case WebInputEvent::KeyDown: |
| 124 case WebInputEvent::KeyUp: | 124 case WebInputEvent::KeyUp: |
| 125 return handler.handleKeyEvent(static_cast<const WebKeyboardEvent&>(event
)); | 125 return handler.handleKeyEvent(static_cast<const WebKeyboardEvent&>(event
)); |
| 126 | 126 |
| 127 case WebInputEvent::Char: | 127 case WebInputEvent::Char: |
| 128 return handler.handleCharEvent(static_cast<const WebKeyboardEvent&>(even
t)); | 128 return handler.handleCharEvent(static_cast<const WebKeyboardEvent&>(even
t)); |
| 129 case WebInputEvent::GestureScrollBegin: | 129 case WebInputEvent::GestureScrollBegin: |
| 130 case WebInputEvent::GestureScrollEnd: | 130 case WebInputEvent::GestureScrollEnd: |
| 131 case WebInputEvent::GestureScrollUpdate: | 131 case WebInputEvent::GestureScrollUpdate: |
| 132 case WebInputEvent::GestureScrollUpdateWithoutPropagation: | |
| 133 case WebInputEvent::GestureFlingStart: | 132 case WebInputEvent::GestureFlingStart: |
| 134 case WebInputEvent::GestureFlingCancel: | 133 case WebInputEvent::GestureFlingCancel: |
| 135 case WebInputEvent::GestureTap: | 134 case WebInputEvent::GestureTap: |
| 136 case WebInputEvent::GestureTapUnconfirmed: | 135 case WebInputEvent::GestureTapUnconfirmed: |
| 137 case WebInputEvent::GestureTapDown: | 136 case WebInputEvent::GestureTapDown: |
| 138 case WebInputEvent::GestureShowPress: | 137 case WebInputEvent::GestureShowPress: |
| 139 case WebInputEvent::GestureTapCancel: | 138 case WebInputEvent::GestureTapCancel: |
| 140 case WebInputEvent::GestureDoubleTap: | 139 case WebInputEvent::GestureDoubleTap: |
| 141 case WebInputEvent::GestureTwoFingerTap: | 140 case WebInputEvent::GestureTwoFingerTap: |
| 142 case WebInputEvent::GestureLongPress: | 141 case WebInputEvent::GestureLongPress: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 { | 190 { |
| 192 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m
ainFrame.view(), event)); | 191 return mainFrame.eventHandler().handleWheelEvent(PlatformWheelEventBuilder(m
ainFrame.view(), event)); |
| 193 } | 192 } |
| 194 | 193 |
| 195 bool PageWidgetEventHandler::handleTouchEvent(LocalFrame& mainFrame, const WebTo
uchEvent& event) | 194 bool PageWidgetEventHandler::handleTouchEvent(LocalFrame& mainFrame, const WebTo
uchEvent& event) |
| 196 { | 195 { |
| 197 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m
ainFrame.view(), event)); | 196 return mainFrame.eventHandler().handleTouchEvent(PlatformTouchEventBuilder(m
ainFrame.view(), event)); |
| 198 } | 197 } |
| 199 | 198 |
| 200 } // namespace blink | 199 } // namespace blink |
| OLD | NEW |