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

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

Issue 1884883005: Prepare SyntheticPointerAction to handle touch actions for multiple fingers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests for mouse and change type of params_list Created 4 years, 6 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_TOUCH_POINTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_TOUCH_POINTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_TOUCH_POINTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_TOUCH_POINTER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/browser/renderer_host/input/synthetic_pointer.h" 9 #include "content/browser/renderer_host/input/synthetic_pointer.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 16 matching lines...) Expand all
27 const base::TimeTicks& timestamp) override; 27 const base::TimeTicks& timestamp) override;
28 void Move(int index, 28 void Move(int index,
29 float x, 29 float x,
30 float y, 30 float y,
31 SyntheticGestureTarget* target, 31 SyntheticGestureTarget* target,
32 const base::TimeTicks& timestamp) override; 32 const base::TimeTicks& timestamp) override;
33 void Release(int index, 33 void Release(int index,
34 SyntheticGestureTarget* target, 34 SyntheticGestureTarget* target,
35 const base::TimeTicks& timestamp) override; 35 const base::TimeTicks& timestamp) override;
36 36
37 SyntheticGestureParams::GestureSourceType PointerSourceType() const override;
38
37 private: 39 private:
38 SyntheticWebTouchEvent touch_event_; 40 SyntheticWebTouchEvent touch_event_;
39 41
40 DISALLOW_COPY_AND_ASSIGN(SyntheticTouchPointer); 42 DISALLOW_COPY_AND_ASSIGN(SyntheticTouchPointer);
41 }; 43 };
42 44
43 } // namespace content 45 } // namespace content
44 46
45 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_TOUCH_POINTER_H_ 47 #endif // CONTENT_COMMON_INPUT_SYNTHETIC_TOUCH_POINTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698