chromium/third_party/blink/renderer/core/mobile_metrics/tap_friendliness_checker.cc

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

#include "third_party/blink/renderer/core/mobile_metrics/tap_friendliness_checker.h"

#include "services/metrics/public/cpp/ukm_builders.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_client.h"
#include "third_party/blink/renderer/core/frame/page_scale_constraints_set.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/frame/visual_viewport.h"
#include "third_party/blink/renderer/core/html/forms/html_form_control_element.h"
#include "third_party/blink/renderer/core/html/html_anchor_element.h"
#include "third_party/blink/renderer/core/page/chrome_client.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "ui/gfx/geometry/rect_conversions.h"

namespace blink {
namespace {
// Considers the |target| is a tap-able element which TapFriendlinessChecker
// focus.
bool ShouldRegister(Element* target) {}

int ViewportWidthInDIPS(LocalFrameView& view) {}
}  // namespace

TapFriendlinessChecker* TapFriendlinessChecker::CreateIfMobile(
    LocalFrameView& view) {}

void TapFriendlinessChecker::RegisterTapEvent(Element* target) {}

void TapFriendlinessChecker::Trace(Visitor* visitor) const {}

}  // namespace blink