#include "remoting/client/input/direct_touch_input_strategy.h"
#include "remoting/client/ui/desktop_viewport.h"
namespace remoting {
namespace {
const float kTapFeedbackRadius = …;
const float kDragFeedbackRadius = …;
}
DirectTouchInputStrategy::DirectTouchInputStrategy() = default;
DirectTouchInputStrategy::~DirectTouchInputStrategy() = default;
void DirectTouchInputStrategy::HandleZoom(const ViewMatrix::Point& pivot,
float scale,
DesktopViewport* viewport) { … }
bool DirectTouchInputStrategy::HandlePan(
const ViewMatrix::Vector2D& translation,
Gesture simultaneous_gesture,
DesktopViewport* viewport) { … }
bool DirectTouchInputStrategy::TrackTouchInput(
const ViewMatrix::Point& touch_point,
const DesktopViewport& viewport) { … }
ViewMatrix::Point DirectTouchInputStrategy::GetCursorPosition() const { … }
void DirectTouchInputStrategy::FocusViewportOnCursor(
DesktopViewport* viewport) const { … }
ViewMatrix::Vector2D DirectTouchInputStrategy::MapScreenVectorToDesktop(
const ViewMatrix::Vector2D& delta,
const DesktopViewport& viewport) const { … }
float DirectTouchInputStrategy::GetFeedbackRadius(
TouchFeedbackType type) const { … }
bool DirectTouchInputStrategy::IsCursorVisible() const { … }
}