// 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. #ifndef THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_LINK_PREVIEW_TRIGGERER_H_ #define THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_LINK_PREVIEW_TRIGGERER_H_ #include "base/functional/callback.h" #include "third_party/blink/public/common/input/web_mouse_event.h" #include "third_party/blink/public/platform/web_url.h" #include "third_party/blink/public/web/web_document.h" #include "third_party/blink/public/web/web_element.h" namespace blink { // Experimental // Observes signals of user actions and determines to trigger Link Preview. // // It will be instantiated per LocalFrame. Notified events are bare and intended // to be filtered by implementations. // // For concrete triggers, see the implementations. class WebLinkPreviewTriggerer { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_PUBLIC_WEB_WEB_LINK_PREVIEW_TRIGGERER_H_