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

Side by Side Diff: content/common/input/web_input_event_traits.cc

Issue 224273002: Revert of [Android] Provide unhandled tap event notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/input/web_input_event_traits.h" 5 #include "content/common/input/web_input_event_traits.h"
6 6
7 #include <bitset> 7 #include <bitset>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 DCHECK(event); 314 DCHECK(event);
315 Apply(WebInputEventCoalesce(), event->type, event_to_coalesce, event); 315 Apply(WebInputEventCoalesce(), event->type, event_to_coalesce, event);
316 } 316 }
317 317
318 bool WebInputEventTraits::IgnoresAckDisposition( 318 bool WebInputEventTraits::IgnoresAckDisposition(
319 blink::WebInputEvent::Type type) { 319 blink::WebInputEvent::Type type) {
320 switch (type) { 320 switch (type) {
321 case WebInputEvent::GestureTapDown: 321 case WebInputEvent::GestureTapDown:
322 case WebInputEvent::GestureShowPress: 322 case WebInputEvent::GestureShowPress:
323 case WebInputEvent::GestureTapCancel: 323 case WebInputEvent::GestureTapCancel:
324 case WebInputEvent::GestureTap:
324 case WebInputEvent::GesturePinchBegin: 325 case WebInputEvent::GesturePinchBegin:
325 case WebInputEvent::GesturePinchEnd: 326 case WebInputEvent::GesturePinchEnd:
326 case WebInputEvent::GestureScrollBegin: 327 case WebInputEvent::GestureScrollBegin:
327 case WebInputEvent::GestureScrollEnd: 328 case WebInputEvent::GestureScrollEnd:
328 case WebInputEvent::TouchCancel: 329 case WebInputEvent::TouchCancel:
329 case WebInputEvent::MouseDown: 330 case WebInputEvent::MouseDown:
330 case WebInputEvent::MouseUp: 331 case WebInputEvent::MouseUp:
331 case WebInputEvent::MouseEnter: 332 case WebInputEvent::MouseEnter:
332 case WebInputEvent::MouseLeave: 333 case WebInputEvent::MouseLeave:
333 case WebInputEvent::ContextMenu: 334 case WebInputEvent::ContextMenu:
334 return true; 335 return true;
335 default: 336 default:
336 break; 337 break;
337 } 338 }
338 return false; 339 return false;
339 } 340 }
340 341
341 } // namespace content 342 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698