chromium/content/browser/renderer_host/input/touch_emulator_impl_unittest.cc

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

#include "content/browser/renderer_host/input/touch_emulator_impl.h"

#include <stddef.h>

#include <memory>
#include <vector>

#include "base/functional/callback.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/input/touch_emulator_client.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_keyboard_event.h"
#include "third_party/blink/public/common/input/web_mouse_wheel_event.h"
#include "ui/base/cursor/cursor.h"
#include "ui/base/ui_base_types.h"
#include "ui/events/blink/web_input_event_traits.h"

WebGestureEvent;
WebInputEvent;
WebKeyboardEvent;
WebMouseEvent;
WebMouseWheelEvent;
WebTouchEvent;
WebTouchPoint;

namespace content {

class TouchEmulatorTest : public testing::Test,
                          public input::TouchEmulatorClient {};

TEST_F(TouchEmulatorTest, NoTouches) {}

TEST_F(TouchEmulatorTest, Touch) {}

TEST_F(TouchEmulatorTest, DoubleTapSupport) {}

TEST_F(TouchEmulatorTest, MultipleTouches) {}

TEST_F(TouchEmulatorTest, Pinch) {}

TEST_F(TouchEmulatorTest, CancelWithDelayedAck) {}

TEST_F(TouchEmulatorTest, DisableAndReenable) {}

TEST_F(TouchEmulatorTest, DisableAndReenableDifferentConfig) {}

TEST_F(TouchEmulatorTest, MouseMovesDropped) {}

TEST_F(TouchEmulatorTest, MouseWheel) {}

TEST_F(TouchEmulatorTest, MultipleTouchStreams) {}

TEST_F(TouchEmulatorTest, MultipleTouchStreamsLateEnable) {}

TEST_F(TouchEmulatorTest, CancelAfterDisableDoesNotCrash) {}

TEST_F(TouchEmulatorTest, ConstructorWithHighDeviceScaleDoesNotCrash) {}

TEST_F(TouchEmulatorTest, CursorScaleFactor) {}

TEST_F(TouchEmulatorTest, InjectingTouchEventsMode) {}

}  // namespace content