#include "content/common/input/synthetic_touch_driver.h"
#include "content/common/input/synthetic_gesture_target.h"
namespace content {
SyntheticTouchDriver::SyntheticTouchDriver() { … }
SyntheticTouchDriver::SyntheticTouchDriver(
blink::SyntheticWebTouchEvent touch_event)
: … { … }
SyntheticTouchDriver::~SyntheticTouchDriver() { … }
void SyntheticTouchDriver::DispatchEvent(SyntheticGestureTarget* target,
const base::TimeTicks& timestamp) { … }
void SyntheticTouchDriver::Press(float x,
float y,
int index,
SyntheticPointerActionParams::Button button,
int key_modifiers,
float width,
float height,
float rotation_angle,
float force,
float tangential_pressure,
int tilt_x,
int tilt_y,
const base::TimeTicks& timestamp) { … }
void SyntheticTouchDriver::Move(float x,
float y,
int index,
int key_modifiers,
float width,
float height,
float rotation_angle,
float force,
float tangential_pressure,
int tilt_x,
int tilt_y,
SyntheticPointerActionParams::Button button) { … }
void SyntheticTouchDriver::Release(int index,
SyntheticPointerActionParams::Button button,
int key_modifiers) { … }
void SyntheticTouchDriver::Cancel(int index,
SyntheticPointerActionParams::Button button,
int key_modifiers) { … }
void SyntheticTouchDriver::Leave(int index) { … }
bool SyntheticTouchDriver::UserInputCheck(
const SyntheticPointerActionParams& params) const { … }
base::WeakPtr<SyntheticPointerDriver> SyntheticTouchDriver::AsWeakPtr() { … }
void SyntheticTouchDriver::ResetPointerIdIndexMap() { … }
int SyntheticTouchDriver::GetIndexFromMap(int value) const { … }
}