chromium/chrome/browser/ui/views/web_apps/frame_toolbar/web_app_frame_toolbar_view.cc

// Copyright 2017 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/web_apps/frame_toolbar/web_app_frame_toolbar_view.h"

#include <memory>

#include "base/memory/raw_ptr.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_button.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_container.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_container_view_controller.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_coordinator.h"
#include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/page_action/page_action_icon_controller.h"
#include "chrome/browser/ui/views/toolbar/back_forward_button.h"
#include "chrome/browser/ui/views/toolbar/reload_button.h"
#include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_content_settings_container.h"
#include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_menu_button.h"
#include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_navigation_button_container.h"
#include "chrome/browser/ui/views/web_apps/frame_toolbar/web_app_toolbar_button_container.h"
#include "chrome/browser/ui/views/web_apps/frame_toolbar/window_controls_overlay_toggle_button.h"
#include "chrome/browser/ui/web_applications/app_browser_controller.h"
#include "ui/base/hit_test.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/view_utils.h"
#include "ui/views/window/hit_test_utils.h"

WebAppFrameToolbarView::WebAppFrameToolbarView(BrowserView* browser_view)
    :{}

WebAppFrameToolbarView::~WebAppFrameToolbarView() = default;

void WebAppFrameToolbarView::UpdateStatusIconsVisibility() {}

void WebAppFrameToolbarView::UpdateCaptionColors() {}

void WebAppFrameToolbarView::SetPaintAsActive(bool active) {}

bool WebAppFrameToolbarView::GetPaintAsActive() const {}

std::pair<int, int> WebAppFrameToolbarView::LayoutInContainer(
    int leading_x,
    int trailing_x,
    int y,
    int available_height) {}

gfx::Rect WebAppFrameToolbarView::LayoutInContainer(gfx::Rect available_space) {}

void WebAppFrameToolbarView::LayoutForWindowControlsOverlay(
    gfx::Rect available_space) {}

ExtensionsToolbarContainer*
WebAppFrameToolbarView::GetExtensionsToolbarContainer() {}

gfx::Size WebAppFrameToolbarView::GetToolbarButtonSize() const {}

views::View* WebAppFrameToolbarView::GetDefaultExtensionDialogAnchorView() {}

PageActionIconView* WebAppFrameToolbarView::GetPageActionIconView(
    PageActionIconType type) {}

AppMenuButton* WebAppFrameToolbarView::GetAppMenuButton() {}

gfx::Rect WebAppFrameToolbarView::GetFindBarBoundingBox(int contents_bottom) {}

void WebAppFrameToolbarView::FocusToolbar() {}

views::AccessiblePaneView* WebAppFrameToolbarView::GetAsAccessiblePaneView() {}

views::View* WebAppFrameToolbarView::GetAnchorView(
    std::optional<PageActionIconType> type) {}

void WebAppFrameToolbarView::ZoomChangedForActiveTab(bool can_show_bubble) {}

AvatarToolbarButton* WebAppFrameToolbarView::GetAvatarToolbarButton() {}

ManagementToolbarButton* WebAppFrameToolbarView::GetManagementToolbarButton() {}

ToolbarButton* WebAppFrameToolbarView::GetBackButton() {}

ReloadButton* WebAppFrameToolbarView::GetReloadButton() {}

IntentChipButton* WebAppFrameToolbarView::GetIntentChipButton() {}

DownloadToolbarButtonView* WebAppFrameToolbarView::GetDownloadButton() {}

bool WebAppFrameToolbarView::DoesIntersectRect(const View* target,
                                               const gfx::Rect& rect) const {}

void WebAppFrameToolbarView::OnWindowControlsOverlayEnabledChanged() {}

void WebAppFrameToolbarView::UpdateBorderlessModeEnabled() {}

void WebAppFrameToolbarView::SetWindowControlsOverlayToggleVisible(
    bool visible) {}

PageActionIconController*
WebAppFrameToolbarView::GetPageActionIconControllerForTesting() {}

void WebAppFrameToolbarView::ChildPreferredSizeChanged(views::View* child) {}

void WebAppFrameToolbarView::OnThemeChanged() {}

views::View* WebAppFrameToolbarView::GetContentSettingContainerForTesting() {}

const std::vector<raw_ptr<ContentSettingImageView, VectorExperimental>>&
WebAppFrameToolbarView::GetContentSettingViewsForTesting() const {}

void WebAppFrameToolbarView::UpdateCachedColors() {}

void WebAppFrameToolbarView::UpdateChildrenColor(bool color_changed) {}

BEGIN_METADATA()