chromium/chrome/browser/ui/views/location_bar/cookie_controls/cookie_controls_bubble_view_impl.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/location_bar/cookie_controls/cookie_controls_bubble_view_impl.h"

#include <string>

#include "base/metrics/user_metrics.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/views/accessibility/non_accessible_image_view.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/location_bar/cookie_controls/cookie_controls_content_view.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/navigation_entry.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/views/layout/box_layout.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/view_utils.h"

namespace {

constexpr int kMaxBubbleWidth =;

}  // namespace

CookieControlsBubbleViewImpl::CookieControlsBubbleViewImpl(
    views::View* anchor_view,
    content::WebContents* web_contents,
    OnCloseBubbleCallback callback)
    :{}

CookieControlsBubbleViewImpl::~CookieControlsBubbleViewImpl() = default;

void CookieControlsBubbleViewImpl::Init() {}

void CookieControlsBubbleViewImpl::InitContentView(
    std::unique_ptr<CookieControlsContentView> view) {}

void CookieControlsBubbleViewImpl::InitReloadingView(
    std::unique_ptr<View> view) {}

void CookieControlsBubbleViewImpl::UpdateTitle(const std::u16string& title) {}

void CookieControlsBubbleViewImpl::UpdateSubtitle(
    const std::u16string& subtitle) {}

void CookieControlsBubbleViewImpl::UpdateFaviconImage(const gfx::Image& image,
                                                      int favicon_view_id) {}

void CookieControlsBubbleViewImpl::SwitchToReloadingView() {}

CookieControlsContentView* CookieControlsBubbleViewImpl::GetContentView() {}

views::View* CookieControlsBubbleViewImpl::GetReloadingView() {}

void CookieControlsBubbleViewImpl::CloseWidget() {}

base::CallbackListSubscription
CookieControlsBubbleViewImpl::RegisterOnUserClosedContentViewCallback(
    base::RepeatingClosureList::CallbackType callback) {}

gfx::Size CookieControlsBubbleViewImpl::CalculatePreferredSize(
    const views::SizeBounds& available_size) const {}

void CookieControlsBubbleViewImpl::CloseBubble() {}

bool CookieControlsBubbleViewImpl::OnCloseRequested(
    views::Widget::ClosedReason close_reason) {}

BEGIN_METADATA()