Home
last modified time | relevance | path

Searched refs:SyntheticGesture (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/content/browser/renderer_host/input/
Dsynthetic_gesture.cc17 static scoped_ptr<SyntheticGesture> CreateGesture( in CreateGesture()
19 return scoped_ptr<SyntheticGesture>( in CreateGesture()
25 SyntheticGesture::SyntheticGesture() {} in SyntheticGesture() function in content::SyntheticGesture
27 SyntheticGesture::~SyntheticGesture() {} in ~SyntheticGesture()
29 scoped_ptr<SyntheticGesture> SyntheticGesture::Create( in Create()
43 return scoped_ptr<SyntheticGesture>(); in Create()
Dsynthetic_gesture_controller.cc22 scoped_ptr<SyntheticGesture> synthetic_gesture) { in QueueSyntheticGesture()
44 SyntheticGesture::Result result = in Flush()
48 if (result == SyntheticGesture::GESTURE_RUNNING) { in Flush()
65 void SyntheticGestureController::StartGesture(const SyntheticGesture& gesture) { in StartGesture()
72 const SyntheticGesture& gesture, SyntheticGesture::Result result) { in StopGesture()
73 DCHECK_NE(result, SyntheticGesture::GESTURE_RUNNING); in StopGesture()
Dsynthetic_gesture.h29 class CONTENT_EXPORT SyntheticGesture {
31 SyntheticGesture();
32 virtual ~SyntheticGesture();
34 static scoped_ptr<SyntheticGesture> Create(
52 DISALLOW_COPY_AND_ASSIGN(SyntheticGesture);
Dsynthetic_gesture_controller.h29 scoped_ptr<SyntheticGesture> synthetic_gesture);
35 void StartGesture(const SyntheticGesture& gesture);
36 void StopGesture(const SyntheticGesture& gesture,
37 SyntheticGesture::Result result);
40 ScopedVector<SyntheticGesture> pending_gesture_queue_;
Dsynthetic_gesture_controller_unittest.cc36 class MockSyntheticGesture : public SyntheticGesture {
51 return SyntheticGesture::GESTURE_FINISHED; in ForwardInputEvents()
55 return SyntheticGesture::GESTURE_SOURCE_TYPE_NOT_IMPLEMENTED; in ForwardInputEvents()
58 return SyntheticGesture::GESTURE_RUNNING; in ForwardInputEvents()
80 SyntheticGesture::Result result) OVERRIDE { in OnSyntheticGestureCompleted()
81 DCHECK_NE(result, SyntheticGesture::GESTURE_RUNNING); in OnSyntheticGestureCompleted()
82 if (result == SyntheticGesture::GESTURE_FINISHED) in OnSyntheticGestureCompleted()
396 controller_->QueueSyntheticGesture(gesture.PassAs<SyntheticGesture>()); in TEST_F()
410 controller_->QueueSyntheticGesture(gesture.PassAs<SyntheticGesture>()); in TEST_F()
428 controller_->QueueSyntheticGesture(gesture_1.PassAs<SyntheticGesture>()); in TEST_F()
[all …]
Dsynthetic_tap_gesture.cc33 SyntheticGesture::Result SyntheticTapGesture::ForwardInputEvents( in ForwardInputEvents()
41 return SyntheticGesture::GESTURE_SOURCE_TYPE_NOT_SUPPORTED_BY_PLATFORM; in ForwardInputEvents()
51 return SyntheticGesture::GESTURE_SOURCE_TYPE_NOT_IMPLEMENTED; in ForwardInputEvents()
53 return (state_ == DONE) ? SyntheticGesture::GESTURE_FINISHED in ForwardInputEvents()
54 : SyntheticGesture::GESTURE_RUNNING; in ForwardInputEvents()
Dsynthetic_pinch_gesture.cc29 SyntheticGesture::Result SyntheticPinchGesture::ForwardInputEvents( in ForwardInputEvents()
37 return SyntheticGesture::GESTURE_SOURCE_TYPE_NOT_SUPPORTED_BY_PLATFORM; in ForwardInputEvents()
46 return SyntheticGesture::GESTURE_SOURCE_TYPE_NOT_IMPLEMENTED; in ForwardInputEvents()
48 return (state_ == DONE) ? SyntheticGesture::GESTURE_FINISHED in ForwardInputEvents()
49 : SyntheticGesture::GESTURE_RUNNING; in ForwardInputEvents()
Dsynthetic_smooth_scroll_gesture.cc37 SyntheticGesture::Result SyntheticSmoothScrollGesture::ForwardInputEvents( in ForwardInputEvents()
45 return SyntheticGesture::GESTURE_SOURCE_TYPE_NOT_SUPPORTED_BY_PLATFORM; in ForwardInputEvents()
56 return SyntheticGesture::GESTURE_SOURCE_TYPE_NOT_IMPLEMENTED; in ForwardInputEvents()
58 return (state_ == DONE) ? SyntheticGesture::GESTURE_FINISHED in ForwardInputEvents()
59 : SyntheticGesture::GESTURE_RUNNING; in ForwardInputEvents()
Dsynthetic_tap_gesture.h16 class CONTENT_EXPORT SyntheticTapGesture : public SyntheticGesture {
21 virtual SyntheticGesture::Result ForwardInputEvents(
Dsynthetic_pinch_gesture.h17 class CONTENT_EXPORT SyntheticPinchGesture : public SyntheticGesture {
22 virtual SyntheticGesture::Result ForwardInputEvents(
Dsynthetic_smooth_scroll_gesture.h20 class CONTENT_EXPORT SyntheticSmoothScrollGesture : public SyntheticGesture {
26 virtual SyntheticGesture::Result ForwardInputEvents(
Dsynthetic_gesture_target.h30 SyntheticGesture::Result result) = 0;
Dsynthetic_gesture_target_base.h46 SyntheticGesture::Result result) OVERRIDE;
Dsynthetic_gesture_target_base.cc94 SyntheticGesture::Result result) { in OnSyntheticGestureCompleted()
/external/chromium_org/content/port/browser/
Drender_widget_host_view_port.h46 class SyntheticGesture; variable
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_impl.cc1714 SyntheticGesture::Create(*gesture_packet.gesture_params())); in OnQueueSyntheticGesture()