/external/chromium_org/content/common/input/ |
D | input_param_traits.cc | 20 scoped_ptr<GestureType> gesture_params(new GestureType); in ReadGestureParams() local 21 if (!ReadParam(m, iter, gesture_params.get())) in ReadGestureParams() 24 return gesture_params.template PassAs<content::SyntheticGestureParams>(); in ReadGestureParams() 58 DCHECK(p.gesture_params()); in Write() 59 WriteParam(m, p.gesture_params()->GetGestureType()); in Write() 60 switch (p.gesture_params()->GetGestureType()) { in Write() 63 p.gesture_params())); in Write() 67 p.gesture_params())); in Write() 71 p.gesture_params())); in Write() 82 scoped_ptr<content::SyntheticGestureParams> gesture_params; in Read() local [all …]
|
D | input_param_traits_unittest.cc | 70 ASSERT_EQ(!!a->gesture_params(), !!b->gesture_params()); in Compare() 71 if (!a->gesture_params()) return; in Compare() 72 ASSERT_EQ(a->gesture_params()->GetGestureType(), in Compare() 73 b->gesture_params()->GetGestureType()); in Compare() 74 switch (a->gesture_params()->GetGestureType()) { in Compare() 76 Compare(SyntheticSmoothScrollGestureParams::Cast(a->gesture_params()), in Compare() 77 SyntheticSmoothScrollGestureParams::Cast(b->gesture_params())); in Compare() 80 Compare(SyntheticPinchGestureParams::Cast(a->gesture_params()), in Compare() 81 SyntheticPinchGestureParams::Cast(b->gesture_params())); in Compare() 84 Compare(SyntheticTapGestureParams::Cast(a->gesture_params()), in Compare() [all …]
|
D | synthetic_tap_gesture_params.cc | 27 const SyntheticGestureParams* gesture_params) { in Cast() argument 28 DCHECK(gesture_params); in Cast() 29 DCHECK_EQ(TAP_GESTURE, gesture_params->GetGestureType()); in Cast() 30 return static_cast<const SyntheticTapGestureParams*>(gesture_params); in Cast()
|
D | synthetic_pinch_gesture_params.cc | 33 const SyntheticGestureParams* gesture_params) { in Cast() argument 34 DCHECK(gesture_params); in Cast() 35 DCHECK_EQ(PINCH_GESTURE, gesture_params->GetGestureType()); in Cast() 36 return static_cast<const SyntheticPinchGestureParams*>(gesture_params); in Cast()
|
D | synthetic_smooth_scroll_gesture_params.cc | 36 const SyntheticGestureParams* gesture_params) { in Cast() argument 37 DCHECK(gesture_params); in Cast() 38 DCHECK_EQ(SMOOTH_SCROLL_GESTURE, gesture_params->GetGestureType()); in Cast() 39 return static_cast<const SyntheticSmoothScrollGestureParams*>(gesture_params); in Cast()
|
D | synthetic_gesture_packet.h | 21 void set_gesture_params(scoped_ptr<SyntheticGestureParams> gesture_params) { in set_gesture_params() argument 22 gesture_params_ = gesture_params.Pass(); in set_gesture_params() 24 const SyntheticGestureParams* gesture_params() const { in gesture_params() function
|
D | synthetic_tap_gesture_params.h | 27 const SyntheticGestureParams* gesture_params);
|
D | synthetic_pinch_gesture_params.h | 30 const SyntheticGestureParams* gesture_params);
|
D | synthetic_smooth_scroll_gesture_params.h | 31 const SyntheticGestureParams* gesture_params);
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | synthetic_gesture.cc | 18 const SyntheticGestureParams& gesture_params) { in CreateGesture() argument 20 new GestureType(*GestureParamsType::Cast(&gesture_params))); in CreateGesture() 30 const SyntheticGestureParams& gesture_params) { in Create() argument 31 switch (gesture_params.GetGestureType()) { in Create() 34 SyntheticSmoothScrollGestureParams>(gesture_params); in Create() 37 SyntheticPinchGestureParams>(gesture_params); in Create() 40 SyntheticTapGestureParams>(gesture_params); in Create()
|
D | synthetic_gesture.h | 35 const SyntheticGestureParams& gesture_params);
|
/external/chromium_org/content/renderer/gpu/ |
D | gpu_benchmarking_extension.cc | 536 scoped_ptr<SyntheticSmoothScrollGestureParams> gesture_params( in BeginSmoothScroll() local 548 gesture_params->gesture_source_type = in BeginSmoothScroll() 557 gesture_params->distance.set_y(distance); in BeginSmoothScroll() 559 gesture_params->distance.set_y(-distance); in BeginSmoothScroll() 561 gesture_params->distance.set_x(distance); in BeginSmoothScroll() 563 gesture_params->distance.set_x(-distance); in BeginSmoothScroll() 569 gesture_params->speed_in_pixels_s = args[4]->IntegerValue(); in BeginSmoothScroll() 570 gesture_params->prevent_fling = args[5]->BooleanValue(); in BeginSmoothScroll() 575 gesture_params->anchor.SetPoint(rect.width / 2, rect.height / 2); in BeginSmoothScroll() 577 gesture_params->anchor.SetPoint( in BeginSmoothScroll() [all …]
|
/external/chromium_org/content/renderer/ |
D | render_widget.h | 186 scoped_ptr<SyntheticGestureParams> gesture_params,
|
D | render_widget.cc | 2021 scoped_ptr<SyntheticGestureParams> gesture_params, in QueueSyntheticGesture() argument 2028 gesture_packet.set_gesture_params(gesture_params.Pass()); in QueueSyntheticGesture()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_widget_host_impl.cc | 1714 SyntheticGesture::Create(*gesture_packet.gesture_params())); in OnQueueSyntheticGesture()
|