#include "chrome/browser/ui/views/payments/payment_handler_modal_dialog_manager_delegate.h"
#include "chrome/browser/platform_util.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "components/web_modal/web_contents_modal_dialog_host.h"
#include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
#include "content/public/browser/web_contents.h"
namespace payments {
PaymentHandlerModalDialogManagerDelegate::
PaymentHandlerModalDialogManagerDelegate(
content::WebContents* host_web_contents)
: … { … }
PaymentHandlerModalDialogManagerDelegate::
~PaymentHandlerModalDialogManagerDelegate() = default;
void PaymentHandlerModalDialogManagerDelegate::SetWebContentsBlocked(
content::WebContents* web_contents,
bool blocked) { … }
web_modal::WebContentsModalDialogHost*
PaymentHandlerModalDialogManagerDelegate::GetWebContentsModalDialogHost() { … }
bool PaymentHandlerModalDialogManagerDelegate::IsWebContentsVisible(
content::WebContents* web_contents) { … }
void PaymentHandlerModalDialogManagerDelegate::SetWebContents(
content::WebContents* web_contents) { … }
}