#include "chrome/browser/ui/views/performance_controls/battery_saver_button.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/ui/browser_element_identifiers.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/toolbar_button_provider.h"
#include "chrome/browser/ui/views/performance_controls/battery_saver_bubble_view.h"
#include "chrome/grit/generated_resources.h"
#include "components/feature_engagement/public/event_constants.h"
#include "components/feature_engagement/public/feature_constants.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/ui_base_features.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/bubble/bubble_border.h"
#include "ui/views/controls/button/button_controller.h"
#include "ui/views/view_class_properties.h"
BatterySaverButton::BatterySaverButton(BrowserView* browser_view)
: … { … }
BatterySaverButton::~BatterySaverButton() { … }
bool BatterySaverButton::IsBubbleShowing() const { … }
void BatterySaverButton::Show() { … }
void BatterySaverButton::Hide() { … }
void BatterySaverButton::OnBubbleHidden() { … }
bool BatterySaverButton::ShouldShowInkdropAfterIphInteraction() { … }
void BatterySaverButton::OnBoundsChanged(const gfx::Rect& previous_bounds) { … }
void BatterySaverButton::OnClicked() { … }
void BatterySaverButton::MaybeShowFeaturePromo() { … }
void BatterySaverButton::CloseFeaturePromo(
user_education::EndFeaturePromoReason close_reason) { … }
BEGIN_METADATA(…)