chromium/remoting/client/input/trackpad_input_strategy.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/client/input/trackpad_input_strategy.h"

#include "remoting/client/ui/desktop_viewport.h"

namespace remoting {

namespace {

// Trackpad mode does not need tap feedback.
const float kTapFeedbackRadius =;

const float kDragFeedbackRadius =;

}  // namespace

TrackpadInputStrategy::TrackpadInputStrategy(const DesktopViewport& viewport)
    :{}

TrackpadInputStrategy::~TrackpadInputStrategy() = default;

void TrackpadInputStrategy::HandleZoom(const ViewMatrix::Point& pivot,
                                       float scale,
                                       DesktopViewport* viewport) {}

bool TrackpadInputStrategy::HandlePan(const ViewMatrix::Vector2D& translation,
                                      Gesture simultaneous_gesture,
                                      DesktopViewport* viewport) {}

bool TrackpadInputStrategy::TrackTouchInput(
    const ViewMatrix::Point& touch_point,
    const DesktopViewport& viewport) {}

ViewMatrix::Point TrackpadInputStrategy::GetCursorPosition() const {}

void TrackpadInputStrategy::FocusViewportOnCursor(
    DesktopViewport* viewport) const {}

ViewMatrix::Vector2D TrackpadInputStrategy::MapScreenVectorToDesktop(
    const ViewMatrix::Vector2D& delta,
    const DesktopViewport& viewport) const {}

float TrackpadInputStrategy::GetFeedbackRadius(TouchFeedbackType type) const {}

bool TrackpadInputStrategy::IsCursorVisible() const {}

}  // namespace remoting