#include "chrome/browser/ui/passwords/password_cross_domain_confirmation_popup_controller_impl.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_functions.h"
#include "chrome/browser/ui/passwords/password_cross_domain_confirmation_popup_view.h"
#include "components/autofill/core/browser/ui/popup_open_enums.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
PasswordCrossDomainConfirmationPopupControllerImpl::
PasswordCrossDomainConfirmationPopupControllerImpl(
content::WebContents* web_contents)
: … { … }
PasswordCrossDomainConfirmationPopupControllerImpl::
~PasswordCrossDomainConfirmationPopupControllerImpl() { … }
void PasswordCrossDomainConfirmationPopupControllerImpl::Show(
const gfx::RectF& element_bounds,
base::i18n::TextDirection text_direction,
const GURL& domain,
const std::u16string& password_origin,
base::OnceClosure confirmation_callback) { … }
void PasswordCrossDomainConfirmationPopupControllerImpl::Hide(
autofill::SuggestionHidingReason) { … }
void PasswordCrossDomainConfirmationPopupControllerImpl::ViewDestroyed() { … }
gfx::NativeView
PasswordCrossDomainConfirmationPopupControllerImpl::container_view() const { … }
content::WebContents*
PasswordCrossDomainConfirmationPopupControllerImpl::GetWebContents() const { … }
const gfx::RectF&
PasswordCrossDomainConfirmationPopupControllerImpl::element_bounds() const { … }
autofill::PopupAnchorType
PasswordCrossDomainConfirmationPopupControllerImpl::anchor_type() const { … }
base::i18n::TextDirection
PasswordCrossDomainConfirmationPopupControllerImpl::GetElementTextDirection()
const { … }
void PasswordCrossDomainConfirmationPopupControllerImpl::DidGetUserInteraction(
const blink::WebInputEvent&) { … }
void PasswordCrossDomainConfirmationPopupControllerImpl::HideImpl(
CrossDomainPasswordFillingConfirmation result) { … }
bool PasswordCrossDomainConfirmationPopupControllerImpl::
OverlapsWithPictureInPictureWindow() const { … }
void PasswordCrossDomainConfirmationPopupControllerImpl::OnConfirm() { … }
void PasswordCrossDomainConfirmationPopupControllerImpl::OnCancel() { … }