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

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

Issue 95153002: Make touch-based synthetic gesture take touch slop into account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused variable. Created 7 years 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 | Annotate | Revision Log
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 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" 9 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"
10 #include "content/common/input/synthetic_gesture_params.h" 10 #include "content/common/input/synthetic_gesture_params.h"
(...skipping 12 matching lines...) Expand all
23 const blink::WebTouchEvent& web_touch, 23 const blink::WebTouchEvent& web_touch,
24 const ui::LatencyInfo& latency_info) OVERRIDE; 24 const ui::LatencyInfo& latency_info) OVERRIDE;
25 25
26 // SyntheticGestureTarget: 26 // SyntheticGestureTarget:
27 virtual SyntheticGestureParams::GestureSourceType 27 virtual SyntheticGestureParams::GestureSourceType
28 GetDefaultSyntheticGestureSourceType() const OVERRIDE; 28 GetDefaultSyntheticGestureSourceType() const OVERRIDE;
29 virtual bool SupportsSyntheticGestureSourceType( 29 virtual bool SupportsSyntheticGestureSourceType(
30 SyntheticGestureParams::GestureSourceType gesture_source_type) const 30 SyntheticGestureParams::GestureSourceType gesture_source_type) const
31 OVERRIDE; 31 OVERRIDE;
32 32
33 virtual int GetTouchSlopInDips() const OVERRIDE;
34
33 private: 35 private:
34 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura); 36 DISALLOW_COPY_AND_ASSIGN(SyntheticGestureTargetAura);
35 }; 37 };
36 38
37 } // namespace content 39 } // namespace content
38 40
39 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_ 41 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_SYNTHETIC_GESTURE_TARGET_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698