#include "chrome/browser/ui/views/passwords/credential_leak_dialog_view.h"
#include "build/build_config.h"
#include "chrome/browser/ui/passwords/credential_leak_dialog_controller.h"
#include "chrome/browser/ui/views/accessibility/theme_tracking_non_accessible_image_view.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/theme_resources.h"
#include "components/constrained_window/constrained_window_views.h"
#include "components/password_manager/core/browser/leak_detection_dialog_utils.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/views/border.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/bubble/tooltip_icon.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/fill_layout.h"
namespace {
std::unique_ptr<views::TooltipIcon> CreateInfoIcon() { … }
}
CredentialLeakDialogView::CredentialLeakDialogView(
CredentialLeakDialogController* controller,
content::WebContents* web_contents)
: … { … }
CredentialLeakDialogView::~CredentialLeakDialogView() { … }
void CredentialLeakDialogView::ShowCredentialLeakPrompt() { … }
void CredentialLeakDialogView::ControllerGone() { … }
void CredentialLeakDialogView::AddedToWidget() { … }
std::u16string CredentialLeakDialogView::GetWindowTitle() const { … }
void CredentialLeakDialogView::InitWindow() { … }
BEGIN_METADATA(…)
CredentialLeakPrompt* CreateCredentialLeakPromptView(
CredentialLeakDialogController* controller,
content::WebContents* web_contents) { … }