chromium/chrome/browser/ui/autofill/autofill_popup_hide_helper.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 "chrome/browser/ui/autofill/autofill_popup_hide_helper.h"

#include "base/check_deref.h"
#include "base/memory/ptr_util.h"
#include "components/autofill/core/browser/ui/suggestion_hiding_reason.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_widget_host.h"
#include "content/public/browser/visibility.h"
#include "content/public/browser/web_contents.h"

namespace autofill {

AutofillPopupHideHelper::AutofillPopupHideHelper(
    content::WebContents* web_contents,
    content::GlobalRenderFrameHostId rfh_id,
    HidingParams hiding_params,
    HidingCallback hiding_callback,
    PictureInPictureDetectionCallback pip_detection_callback)
    :{}

AutofillPopupHideHelper::~AutofillPopupHideHelper() = default;

void AutofillPopupHideHelper::WebContentsDestroyed() {}

void AutofillPopupHideHelper::OnWebContentsLostFocus(
    content::RenderWidgetHost* render_widget_host) {}

void AutofillPopupHideHelper::PrimaryMainFrameWasResized(bool width_changed) {}

void AutofillPopupHideHelper::OnVisibilityChanged(
    content::Visibility visibility) {}

void AutofillPopupHideHelper::RenderFrameDeleted(
    content::RenderFrameHost* rfh) {}

void AutofillPopupHideHelper::DidFinishNavigation(
    content::NavigationHandle* navigation_handle) {}

#if !BUILDFLAG(IS_ANDROID)
void AutofillPopupHideHelper::OnZoomControllerDestroyed(
    zoom::ZoomController* source) {}

void AutofillPopupHideHelper::OnZoomChanged(
    const zoom::ZoomController::ZoomChangedEventData& data) {}
#endif  // !BUILDFLAG(IS_ANDROID)

void AutofillPopupHideHelper::OnEnterPictureInPicture() {}

}  // namespace autofill