chromium/third_party/blink/renderer/core/exported/web_link_preview_triggerer_test.cc

// Copyright 2024 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/public/web/web_link_preview_triggerer.h"

#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/input/web_keyboard_event.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/exported/web_view_impl.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/input/event_handler.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/testing/url_test_helpers.h"
#include "ui/events/keycodes/dom/dom_code.h"

namespace blink {

class MockWebLinkPreviewTriggerer : public WebLinkPreviewTriggerer {};

class WebLinkPreviewTriggererTest : public PageTestBase {};

TEST_F(WebLinkPreviewTriggererTest, MaybeChangedKeyEventModifierCalled) {}

TEST_F(WebLinkPreviewTriggererTest,
       MaybeChangedKeyEventModifierCalledWithNoModifiersOnMouseLeave) {}

TEST_F(WebLinkPreviewTriggererTest, DidChangeHoverElementCalledOnHoverChanged) {}

TEST_F(WebLinkPreviewTriggererTest,
       DidAnchorElementReceiveMouseDownEventCalledOnMousePress) {}

}  // namespace blink