#include "chrome/browser/ui/views/profiles/incognito_menu_view.h"
#include <algorithm>
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/user_metrics.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/ui_features.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/models/image_model.h"
#include "ui/color/color_id.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/style/typography.h"
#if BUILDFLAG(IS_WIN)
#include "chrome/browser/browser_process.h"
#include "chrome/common/chrome_features.h"
#endif
IncognitoMenuView::IncognitoMenuView(views::Button* anchor_button,
Browser* browser)
: … { … }
IncognitoMenuView::~IncognitoMenuView() = default;
void IncognitoMenuView::BuildMenu() { … }
std::u16string IncognitoMenuView::GetAccessibleWindowTitle() const { … }
void IncognitoMenuView::OnExitButtonClicked() { … }