#include "chrome/browser/ui/views/profiles/profile_customization_bubble_view.h"
#include "base/feature_list.h"
#include "base/functional/callback_helpers.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/signin/dice_web_signin_interceptor_delegate.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/toolbar_button_provider.h"
#include "chrome/browser/ui/views/profiles/avatar_toolbar_button.h"
#include "chrome/browser/ui/webui/signin/profile_customization_ui.h"
#include "chrome/common/webui_url_constants.h"
#include "components/signin/public/base/signin_switches.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/bubble/bubble_border.h"
#include "ui/views/controls/webview/webview.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/widget/widget.h"
#include "url/gurl.h"
namespace {
constexpr int kCustomizationBubbleHeight = …;
constexpr int kCustomizationBubbleWidth = …;
}
ProfileCustomizationBubbleView::~ProfileCustomizationBubbleView() = default;
ProfileCustomizationBubbleView* ProfileCustomizationBubbleView::CreateBubble(
Browser* browser,
views::View* anchor_view) { … }
ProfileCustomizationBubbleView::ProfileCustomizationBubbleView(
Profile* profile,
views::View* anchor_view)
: … { … }
void ProfileCustomizationBubbleView::OnCompletionButtonClicked(
ProfileCustomizationHandler::CustomizationResult customization_result) { … }
BEGIN_METADATA(…)
void DiceWebSigninInterceptorDelegate::ShowProfileCustomizationBubbleInternal(
Browser* browser) { … }