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

Side by Side Diff: content/browser/renderer_host/input/synthetic_touch_pointer.cc

Issue 1884883005: Prepare SyntheticPointerAction to handle touch actions for multiple fingers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: return nullptr Created 4 years, 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/browser/renderer_host/input/synthetic_touch_pointer.h" 5 #include "content/browser/renderer_host/input/synthetic_touch_pointer.h"
6 6
7 #include "content/browser/renderer_host/input/synthetic_gesture_target.h" 7 #include "content/browser/renderer_host/input/synthetic_gesture_target.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 25 matching lines...) Expand all
36 const base::TimeTicks& timestamp) { 36 const base::TimeTicks& timestamp) {
37 touch_event_.MovePoint(index, x, y); 37 touch_event_.MovePoint(index, x, y);
38 } 38 }
39 39
40 void SyntheticTouchPointer::Release(int index, 40 void SyntheticTouchPointer::Release(int index,
41 SyntheticGestureTarget* target, 41 SyntheticGestureTarget* target,
42 const base::TimeTicks& timestamp) { 42 const base::TimeTicks& timestamp) {
43 touch_event_.ReleasePoint(index); 43 touch_event_.ReleasePoint(index);
44 } 44 }
45 45
46 SyntheticGestureParams::GestureSourceType SyntheticTouchPointer::SourceType()
47 const {
48 return SyntheticGestureParams::TOUCH_INPUT;
49 }
50
46 } // namespace content 51 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/synthetic_touch_pointer.h ('k') | content/common/input/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698