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

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

Issue 229373002: 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 DCHECK(event); 333 DCHECK(event);
334 Apply(WebInputEventCoalesce(), event->type, event_to_coalesce, event); 334 Apply(WebInputEventCoalesce(), event->type, event_to_coalesce, event);
335 } 335 }
336 336
337 bool WebInputEventTraits::IgnoresAckDisposition( 337 bool WebInputEventTraits::IgnoresAckDisposition(
338 blink::WebInputEvent::Type type) { 338 blink::WebInputEvent::Type type) {
339 switch (type) { 339 switch (type) {
340 case WebInputEvent::GestureTapDown: 340 case WebInputEvent::GestureTapDown:
341 case WebInputEvent::GestureShowPress: 341 case WebInputEvent::GestureShowPress:
342 case WebInputEvent::GestureTapCancel: 342 case WebInputEvent::GestureTapCancel:
343 case WebInputEvent::GestureTap:
343 case WebInputEvent::GesturePinchBegin: 344 case WebInputEvent::GesturePinchBegin:
344 case WebInputEvent::GesturePinchEnd: 345 case WebInputEvent::GesturePinchEnd:
345 case WebInputEvent::GestureScrollBegin: 346 case WebInputEvent::GestureScrollBegin:
346 case WebInputEvent::GestureScrollEnd: 347 case WebInputEvent::GestureScrollEnd:
347 case WebInputEvent::TouchCancel: 348 case WebInputEvent::TouchCancel:
348 case WebInputEvent::MouseDown: 349 case WebInputEvent::MouseDown:
349 case WebInputEvent::MouseUp: 350 case WebInputEvent::MouseUp:
350 case WebInputEvent::MouseEnter: 351 case WebInputEvent::MouseEnter:
351 case WebInputEvent::MouseLeave: 352 case WebInputEvent::MouseLeave:
352 case WebInputEvent::ContextMenu: 353 case WebInputEvent::ContextMenu:
353 return true; 354 return true;
354 default: 355 default:
355 break; 356 break;
356 } 357 }
357 return false; 358 return false;
358 } 359 }
359 360
360 } // namespace content 361 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698