#include "third_party/blink/renderer/core/input/pointer_event_manager.h"
#include <limits>
#include <memory>
#include "base/task/single_thread_task_runner.h"
#include "base/test/scoped_feature_list.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/pointer_type_names.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/platform/testing/runtime_enabled_features_test_helpers.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include "ui/base/ui_base_features.h"
namespace blink {
namespace {
class CheckPointerEventListenerCallback final : public NativeEventListener { … };
class PointerEventCoordinateListenerCallback final
: public NativeEventListener { … };
}
class PointerEventManagerTest : public SimTest { … };
TEST_F(PointerEventManagerTest, HasPointerCapture) { … }
TEST_F(PointerEventManagerTest, PointerCancelsOfAllTypes) { … }
TEST_F(PointerEventManagerTest, NoUserActivationWithPointerUpAfterCancel) { … }
TEST_F(PointerEventManagerTest, PointerCancelForNonExistentid) { … }
TEST_F(PointerEventManagerTest, PointerEventCoordinates) { … }
TEST_F(PointerEventManagerTest, PointerEventMovements) { … }
TEST_F(PointerEventManagerTest, PointerEventSmallFractionMovements) { … }
TEST_F(PointerEventManagerTest, PointerRawUpdateMovements) { … }
TEST_F(PointerEventManagerTest, PointerRawUpdateWithRelativeMotionEvent) { … }
TEST_F(PointerEventManagerTest, PointerUnadjustedMovement) { … }
PanAction;
class PanActionWidgetInputHandlerHost
: public frame_test_helpers::TestWidgetInputHandlerHost { … };
class PanActionTrackingWebFrameWidget
: public frame_test_helpers::TestWebFrameWidget { … };
class PanActionPointerEventTest : public PointerEventManagerTest { … };
TEST_F(PanActionPointerEventTest, PanActionStylusWritable) { … }
TEST_F(PanActionPointerEventTest, PanActionMoveCursor) { … }
TEST_F(PanActionPointerEventTest, PanActionNoneAndScroll) { … }
TEST_F(PanActionPointerEventTest, PanActionNotSetWhenTouchActive) { … }
TEST_F(PanActionPointerEventTest, PanActionAdjustedStylusWritable) { … }
TEST_F(PanActionPointerEventTest, PanActionAdjustedWithTappableNodeNearby) { … }
TEST_F(PanActionPointerEventTest, PanActionAdjustedWhenZoomed) { … }
TEST_F(PanActionPointerEventTest, PanActionSentAcrossFrames) { … }
}