chromium/third_party/blink/public/mojom/unhandled_tap_notifier/unhandled_tap_notifier.mojom

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

[JavaPackage="org.chromium.blink.mojom"]
module blink.mojom;

import "ui/gfx/geometry/mojom/geometry.mojom";

// Mojom representation of some information about a recent unhandled tap in text.
// This data is used to notifying the Browser to show UI for an unhandled tap if needed.
struct UnhandledTapInfo {
    gfx.mojom.Point tapped_position_in_viewport;
};

interface UnhandledTapNotifier {
  ShowUnhandledTapUIIfNeeded(UnhandledTapInfo unhandled_tap_info);
};