#include "chrome/browser/ui/views/storage/storage_pressure_bubble_view.h"
#include "base/feature_list.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/frame/app_menu_button.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/toolbar_button_provider.h"
#include "chrome/grit/generated_resources.h"
#include "components/url_formatter/url_formatter.h"
#include "content/public/common/content_features.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/views/layout/box_layout.h"
namespace {
const char kAllSitesContentSettingsUrl[] = …;
enum class StoragePressureBubbleHistogramValue { … };
void RecordBubbleHistogramValue(StoragePressureBubbleHistogramValue value) { … }
}
namespace chrome {
void ShowStoragePressureBubble(const url::Origin& origin) { … }
}
void StoragePressureBubbleView::ShowBubble(const url::Origin& origin) { … }
StoragePressureBubbleView::StoragePressureBubbleView(views::View* anchor_view,
Browser* browser,
const url::Origin& origin)
: … { … }
StoragePressureBubbleView::~StoragePressureBubbleView() { … }
void StoragePressureBubbleView::OnDialogAccepted() { … }
void StoragePressureBubbleView::Init() { … }
bool StoragePressureBubbleView::ShouldShowCloseButton() const { … }
BEGIN_METADATA(…)