#include "third_party/blink/renderer/core/mobile_metrics/tap_friendliness_checker.h"
#include "components/ukm/test_ukm_recorder.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "third_party/blink/public/common/input/web_coalesced_input_event.h"
#include "third_party/blink/renderer/core/frame/frame_test_helpers.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/platform/heap/thread_state.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h"
#include "ui/gfx/geometry/point_f.h"
namespace blink {
static constexpr char kBaseUrl[] = …;
static constexpr int kDeviceWidth = …;
static constexpr int kDeviceHeight = …;
static constexpr float kMinimumZoom = …;
static constexpr float kMaximumZoom = …;
class TapFriendlinessCheckerTest : public testing::Test { … };
TEST_F(TapFriendlinessCheckerTest, NoTapTarget) { … }
TEST_F(TapFriendlinessCheckerTest, TapTargetExists) { … }
TEST_F(TapFriendlinessCheckerTest, ClickThreeTimes) { … }
TEST_F(TapFriendlinessCheckerTest, SmallTapTarget) { … }
TEST_F(TapFriendlinessCheckerTest, CloseDisplayEdgeTapTarget) { … }
TEST_F(TapFriendlinessCheckerTest, SmallAndCloseDisplayEdgeTapTarget) { … }
}