#include "chrome/browser/ui/views/webid/fedcm_modal_dialog_view.h"
#include <algorithm>
#include "base/metrics/histogram_macros.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/url_formatter/elide_url.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/border.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/table_layout.h"
namespace {
gfx::Rect ComputePopupWindowBounds(gfx::Rect source_window_bounds) { … }
}
FedCmModalDialogView::FedCmModalDialogView(
content::WebContents* web_contents,
FedCmModalDialogView::Observer* observer)
: … { … }
FedCmModalDialogView::~FedCmModalDialogView() = default;
content::WebContents* FedCmModalDialogView::ShowPopupWindow(const GURL& url) { … }
void FedCmModalDialogView::ClosePopupWindow() { … }
void FedCmModalDialogView::ResizeAndFocusPopupWindow() { … }
void FedCmModalDialogView::WebContentsDestroyed() { … }
FedCmModalDialogView::Observer* FedCmModalDialogView::GetObserverForTesting() { … }