chromium/ui/touch_selection/touch_handle_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 "ui/touch_selection/touch_handle.h"

#include "base/memory/raw_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/test/motion_event_test_utils.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/touch_selection/touch_handle_orientation.h"

MockMotionEvent;

namespace ui {
namespace {

const int kDefaultTapDurationMs =;
const double kDefaultTapSlop =;
const float kDefaultDrawableSize =;
const gfx::RectF kDefaultViewportRect(0, 0, 560, 1200);

struct MockDrawableData {};

class MockTouchHandleDrawable : public TouchHandleDrawable {};

class TouchHandleTest : public testing::Test, public TouchHandleClient {};

TEST_F(TouchHandleTest, Visibility) {}

TEST_F(TouchHandleTest, VisibilityAnimation) {}

TEST_F(TouchHandleTest, Orientation) {}

TEST_F(TouchHandleTest, Position) {}

TEST_F(TouchHandleTest, PositionNotUpdatedWhileFadingOrInvisible) {}

TEST_F(TouchHandleTest, Enabled) {}

TEST_F(TouchHandleTest, Drag) {}

TEST_F(TouchHandleTest, DragDefersOrientationChange) {}

TEST_F(TouchHandleTest, DragDefersFade) {}

TEST_F(TouchHandleTest, DragTargettingUsesTouchSize) {}

TEST_F(TouchHandleTest, Tap) {}

TEST_F(TouchHandleTest, MirrorFocusChange) {}

TEST_F(TouchHandleTest, DragDefersMirrorChange) {}

TEST_F(TouchHandleTest, ViewportSizeChange) {}

}  // namespace
}  // namespace ui