Searched refs:SyntheticGesture (Results 1 – 16 of 16) sorted by relevance
17 static scoped_ptr<SyntheticGesture> CreateGesture( in CreateGesture()19 return scoped_ptr<SyntheticGesture>( in CreateGesture()25 SyntheticGesture::SyntheticGesture() {} in SyntheticGesture() function in content::SyntheticGesture27 SyntheticGesture::~SyntheticGesture() {} in ~SyntheticGesture()29 scoped_ptr<SyntheticGesture> SyntheticGesture::Create( in Create()43 return scoped_ptr<SyntheticGesture>(); in Create()
22 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()
29 class CONTENT_EXPORT SyntheticGesture {31 SyntheticGesture();32 virtual ~SyntheticGesture();34 static scoped_ptr<SyntheticGesture> Create(52 DISALLOW_COPY_AND_ASSIGN(SyntheticGesture);
29 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_;
36 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 …]
33 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()
29 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()
37 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()
16 class CONTENT_EXPORT SyntheticTapGesture : public SyntheticGesture {21 virtual SyntheticGesture::Result ForwardInputEvents(
17 class CONTENT_EXPORT SyntheticPinchGesture : public SyntheticGesture {22 virtual SyntheticGesture::Result ForwardInputEvents(
20 class CONTENT_EXPORT SyntheticSmoothScrollGesture : public SyntheticGesture {26 virtual SyntheticGesture::Result ForwardInputEvents(
30 SyntheticGesture::Result result) = 0;
46 SyntheticGesture::Result result) OVERRIDE;
94 SyntheticGesture::Result result) { in OnSyntheticGestureCompleted()
46 class SyntheticGesture; variable
1714 SyntheticGesture::Create(*gesture_packet.gesture_params())); in OnQueueSyntheticGesture()