chromium/chrome/browser/ui/views/extensions/extensions_toolbar_button.cc

// Copyright 2019 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/extensions/extensions_toolbar_button.h"

#include "base/feature_list.h"
#include "base/metrics/user_metrics.h"
#include "base/metrics/user_metrics_action.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/view_ids.h"
#include "chrome/browser/ui/views/extensions/extensions_menu_coordinator.h"
#include "chrome/browser/ui/views/extensions/extensions_menu_view.h"
#include "chrome/browser/ui/views/extensions/extensions_request_access_button.h"
#include "chrome/browser/ui/views/extensions/extensions_toolbar_container.h"
#include "chrome/grit/generated_resources.h"
#include "components/vector_icons/vector_icons.h"
#include "extensions/common/extension_features.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/pointer/touch_ui_controller.h"
#include "ui/gfx/vector_icon_types.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/button/button_controller.h"

namespace {

const gfx::VectorIcon& GetIcon(ExtensionsToolbarButton::State state) {}

// Returns the accessible text for the button.
std::u16string GetAccessibleText(ExtensionsToolbarButton::State state) {}

}  // namespace

ExtensionsToolbarButton::ExtensionsToolbarButton(
    Browser* browser,
    ExtensionsToolbarContainer* extensions_container,
    ExtensionsMenuCoordinator* extensions_menu_coordinator)
    :{}

ExtensionsToolbarButton::~ExtensionsToolbarButton() {}

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

gfx::Size ExtensionsToolbarButton::GetMinimumSize() const {}

void ExtensionsToolbarButton::OnBoundsChanged(
    const gfx::Rect& previous_bounds) {}

void ExtensionsToolbarButton::UpdateState(State state) {}

void ExtensionsToolbarButton::OnWidgetDestroying(views::Widget* widget) {}

bool ExtensionsToolbarButton::ShouldShowInkdropAfterIphInteraction() {}

void ExtensionsToolbarButton::ToggleExtensionsMenu() {}

bool ExtensionsToolbarButton::GetExtensionsMenuShowing() const {}

int ExtensionsToolbarButton::GetIconSize() const {}

std::u16string ExtensionsToolbarButton::GetTooltipText(
    const gfx::Point& p) const {}

BEGIN_METADATA()