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

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

Issue 929333002: Adding synthetic touch/mouse drag [Part1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors. Created 5 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_DRAG_GESTURE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_DRAG_GESTURE_H_
7
8 #include "content/browser/renderer_host/input/synthetic_smooth_move_gesture.h"
9
10 #include "content/common/input/synthetic_smooth_drag_gesture_params.h"
11
12 namespace content {
13 class CONTENT_EXPORT SyntheticSmoothDragGesture
14 : public SyntheticSmoothMoveGesture {
15 public:
16 explicit SyntheticSmoothDragGesture(
17 const SyntheticSmoothDragGestureParams& params);
18 ~SyntheticSmoothDragGesture() override;
19
20 SyntheticGesture::Result ForwardInputEvents(
Sami 2015/02/18 12:01:53 Please add a comment: // SyntheticGesture implemen
ssid 2015/02/18 17:57:34 Done.
21 const base::TimeTicks& timestamp,
22 SyntheticGestureTarget* target) override;
23
24 private:
25 SyntheticSmoothDragGestureParams params_;
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_SMOOTH_DRAG_GESTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698