Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: Source/web/PageWidgetDelegate.cpp

Issue 732483003: Remove GestureScrollUpdateWithoutPropagation event (blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/platform/scroll/Scrollbar.cpp ('k') | Source/web/PopupContainer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/platform/scroll/Scrollbar.cpp ('k') | Source/web/PopupContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698