Home
last modified time | relevance | path

Searched refs:SyntheticGestureParams (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/content/common/input/
Dsynthetic_gesture_params.cc9 SyntheticGestureParams::SyntheticGestureParams() in SyntheticGestureParams() function in content::SyntheticGestureParams
12 SyntheticGestureParams::SyntheticGestureParams( in SyntheticGestureParams() function in content::SyntheticGestureParams
13 const SyntheticGestureParams& other) in SyntheticGestureParams()
16 SyntheticGestureParams::~SyntheticGestureParams() {} in ~SyntheticGestureParams()
Dinput_param_traits.cc16 scoped_ptr<content::SyntheticGestureParams> ReadGestureParams( in ReadGestureParams()
22 return scoped_ptr<content::SyntheticGestureParams>(); in ReadGestureParams()
24 return gesture_params.template PassAs<content::SyntheticGestureParams>(); in ReadGestureParams()
61 case content::SyntheticGestureParams::SMOOTH_SCROLL_GESTURE: in Write()
65 case content::SyntheticGestureParams::PINCH_GESTURE: in Write()
69 case content::SyntheticGestureParams::TAP_GESTURE: in Write()
79 content::SyntheticGestureParams::GestureType gesture_type; in Read()
82 scoped_ptr<content::SyntheticGestureParams> gesture_params; in Read()
84 case content::SyntheticGestureParams::SMOOTH_SCROLL_GESTURE: in Read()
89 case content::SyntheticGestureParams::PINCH_GESTURE: in Read()
[all …]
Dsynthetic_gesture_params.h30 struct CONTENT_EXPORT SyntheticGestureParams { struct
31 SyntheticGestureParams();
32 SyntheticGestureParams(const SyntheticGestureParams& other);
33 virtual ~SyntheticGestureParams();
Dsynthetic_gesture_packet.h21 void set_gesture_params(scoped_ptr<SyntheticGestureParams> gesture_params) { in set_gesture_params()
24 const SyntheticGestureParams* gesture_params() const { in gesture_params()
27 scoped_ptr<SyntheticGestureParams> pass_gesture_params() { in pass_gesture_params()
32 scoped_ptr<SyntheticGestureParams> gesture_params_;
Dinput_param_traits_unittest.cc75 case SyntheticGestureParams::SMOOTH_SCROLL_GESTURE: in Compare()
79 case SyntheticGestureParams::PINCH_GESTURE: in Compare()
83 case SyntheticGestureParams::TAP_GESTURE: in Compare()
192 gesture_params->gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
197 ASSERT_EQ(SyntheticGestureParams::SMOOTH_SCROLL_GESTURE, in TEST_F()
200 packet_in.set_gesture_params(gesture_params.PassAs<SyntheticGestureParams>()); in TEST_F()
208 gesture_params->gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
213 ASSERT_EQ(SyntheticGestureParams::PINCH_GESTURE, in TEST_F()
216 packet_in.set_gesture_params(gesture_params.PassAs<SyntheticGestureParams>()); in TEST_F()
224 gesture_params->gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
[all …]
Dsynthetic_tap_gesture_params.cc15 : SyntheticGestureParams(other), in SyntheticTapGestureParams()
21 SyntheticGestureParams::GestureType SyntheticTapGestureParams::GetGestureType() in GetGestureType()
27 const SyntheticGestureParams* gesture_params) { in Cast()
Dsynthetic_pinch_gesture_params.cc18 : SyntheticGestureParams(other), in SyntheticPinchGestureParams()
27 SyntheticGestureParams::GestureType
33 const SyntheticGestureParams* gesture_params) { in Cast()
Dsynthetic_smooth_scroll_gesture_params.cc21 : SyntheticGestureParams(other), in SyntheticSmoothScrollGestureParams()
29 SyntheticGestureParams::GestureType
36 const SyntheticGestureParams* gesture_params) { in Cast()
Dsynthetic_tap_gesture_params.h15 : public SyntheticGestureParams {
27 const SyntheticGestureParams* gesture_params);
Dsynthetic_pinch_gesture_params.h15 : public SyntheticGestureParams {
30 const SyntheticGestureParams* gesture_params);
Dsynthetic_smooth_scroll_gesture_params.h16 : public SyntheticGestureParams {
31 const SyntheticGestureParams* gesture_params);
/external/chromium_org/content/browser/renderer_host/input/
Dsynthetic_tap_gesture.cc26 gesture_source_type_(SyntheticGestureParams::DEFAULT_INPUT), in SyntheticTapGesture()
37 if (gesture_source_type_ == SyntheticGestureParams::DEFAULT_INPUT) in ForwardInputEvents()
46 DCHECK_NE(gesture_source_type_, SyntheticGestureParams::DEFAULT_INPUT); in ForwardInputEvents()
47 if (gesture_source_type_ == SyntheticGestureParams::TOUCH_INPUT || in ForwardInputEvents()
48 gesture_source_type_ == SyntheticGestureParams::MOUSE_INPUT) in ForwardInputEvents()
86 if (gesture_source_type_ == SyntheticGestureParams::TOUCH_INPUT) { in Press()
89 } else if (gesture_source_type_ == SyntheticGestureParams::MOUSE_INPUT) { in Press()
103 if (gesture_source_type_ == SyntheticGestureParams::TOUCH_INPUT) { in Release()
106 } else if (gesture_source_type_ == SyntheticGestureParams::MOUSE_INPUT) { in Release()
Dsynthetic_gesture_target_base.cc49 SyntheticGestureParams::TOUCH_INPUT)); in DispatchInputEventToPlatform()
56 SyntheticGestureParams::MOUSE_INPUT)); in DispatchInputEventToPlatform()
63 SyntheticGestureParams::MOUSE_INPUT)); in DispatchInputEventToPlatform()
102 SyntheticGestureParams::GestureSourceType
104 return SyntheticGestureParams::MOUSE_INPUT; in GetDefaultSyntheticGestureSourceType()
108 SyntheticGestureParams::GestureSourceType gesture_source_type) const { in SupportsSyntheticGestureSourceType()
109 return gesture_source_type == SyntheticGestureParams::MOUSE_INPUT || in SupportsSyntheticGestureSourceType()
110 gesture_source_type == SyntheticGestureParams::TOUCH_INPUT; in SupportsSyntheticGestureSourceType()
Dsynthetic_gesture.cc18 const SyntheticGestureParams& gesture_params) { in CreateGesture()
30 const SyntheticGestureParams& gesture_params) { in Create()
32 case SyntheticGestureParams::SMOOTH_SCROLL_GESTURE: in Create()
35 case SyntheticGestureParams::PINCH_GESTURE: in Create()
38 case SyntheticGestureParams::TAP_GESTURE: in Create()
Dsynthetic_gesture_target_android.cc76 SyntheticGestureParams::GestureSourceType
78 return SyntheticGestureParams::TOUCH_INPUT; in GetDefaultSyntheticGestureSourceType()
82 SyntheticGestureParams::GestureSourceType gesture_source_type) const { in SupportsSyntheticGestureSourceType()
83 return gesture_source_type == SyntheticGestureParams::TOUCH_INPUT; in SupportsSyntheticGestureSourceType()
Dsynthetic_gesture_controller_unittest.cc92 virtual SyntheticGestureParams::GestureSourceType
94 return SyntheticGestureParams::TOUCH_INPUT; in GetDefaultSyntheticGestureSourceType()
97 SyntheticGestureParams::GestureSourceType gesture_source_type) in SupportsSyntheticGestureSourceType()
487 params.gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
508 params.gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
548 params.gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
572 params.gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
600 params.gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
625 params.gesture_source_type = SyntheticGestureParams::TOUCH_INPUT; in TEST_F()
645 params.gesture_source_type = SyntheticGestureParams::MOUSE_INPUT; in TEST_F()
[all …]
Dsynthetic_gesture_target_aura.cc135 SyntheticGestureParams::GestureSourceType
137 return SyntheticGestureParams::MOUSE_INPUT; in GetDefaultSyntheticGestureSourceType()
141 SyntheticGestureParams::GestureSourceType gesture_source_type) const { in SupportsSyntheticGestureSourceType()
142 return gesture_source_type == SyntheticGestureParams::TOUCH_INPUT || in SupportsSyntheticGestureSourceType()
143 gesture_source_type == SyntheticGestureParams::MOUSE_INPUT; in SupportsSyntheticGestureSourceType()
Dsynthetic_smooth_scroll_gesture.cc32 gesture_source_type_(SyntheticGestureParams::DEFAULT_INPUT), in SyntheticSmoothScrollGesture()
41 if (gesture_source_type_ == SyntheticGestureParams::DEFAULT_INPUT) in ForwardInputEvents()
50 DCHECK_NE(gesture_source_type_, SyntheticGestureParams::DEFAULT_INPUT); in ForwardInputEvents()
51 if (gesture_source_type_ == SyntheticGestureParams::TOUCH_INPUT) in ForwardInputEvents()
53 else if (gesture_source_type_ == SyntheticGestureParams::MOUSE_INPUT) in ForwardInputEvents()
Dsynthetic_pinch_gesture.cc22 gesture_source_type_(SyntheticGestureParams::DEFAULT_INPUT), in SyntheticPinchGesture()
33 if (gesture_source_type_ == SyntheticGestureParams::DEFAULT_INPUT) in ForwardInputEvents()
42 DCHECK_NE(gesture_source_type_, SyntheticGestureParams::DEFAULT_INPUT); in ForwardInputEvents()
43 if (gesture_source_type_ == SyntheticGestureParams::TOUCH_INPUT) in ForwardInputEvents()
Dsynthetic_gesture_target.h37 virtual SyntheticGestureParams::GestureSourceType
42 SyntheticGestureParams::GestureSourceType gesture_source_type) const = 0;
Dsynthetic_gesture_target_aura.h37 virtual SyntheticGestureParams::GestureSourceType
40 SyntheticGestureParams::GestureSourceType gesture_source_type) const
Dsynthetic_gesture_target_android.h30 virtual SyntheticGestureParams::GestureSourceType
33 SyntheticGestureParams::GestureSourceType gesture_source_type) const
Dsynthetic_gesture_target_base.h50 virtual SyntheticGestureParams::GestureSourceType
53 SyntheticGestureParams::GestureSourceType gesture_source_type) const
/external/chromium_org/content/common/
Dinput_messages.h41 content::SyntheticGestureParams::GestureSourceType,
42 content::SyntheticGestureParams::GESTURE_SOURCE_TYPE_MAX)
44 content::SyntheticGestureParams::GestureType,
45 content::SyntheticGestureParams::SYNTHETIC_GESTURE_TYPE_MAX)
60 IPC_STRUCT_TRAITS_BEGIN(content::SyntheticGestureParams)
65 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
73 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
81 IPC_STRUCT_TRAITS_PARENT(content::SyntheticGestureParams)
/external/chromium_org/content/renderer/gpu/
Dgpu_benchmarking_extension.cc544 gesture_source_type > SyntheticGestureParams::GESTURE_SOURCE_TYPE_MAX) { in BeginSmoothScroll()
549 static_cast<SyntheticGestureParams::GestureSourceType>( in BeginSmoothScroll()
589 gesture_params.PassAs<SyntheticGestureParams>(), in BeginSmoothScroll()
642 gesture_params.PassAs<SyntheticGestureParams>(), in BeginPinch()
679 gesture_source_type > SyntheticGestureParams::GESTURE_SOURCE_TYPE_MAX) { in BeginTap()
684 static_cast<SyntheticGestureParams::GestureSourceType>( in BeginTap()
700 gesture_params.PassAs<SyntheticGestureParams>(), in BeginTap()

12