#include "chrome/browser/ui/performance_controls/performance_intervention_bubble_delegate.h"
#include <memory>
#include "base/check.h"
#include "chrome/browser/performance_manager/public/user_tuning/performance_detection_manager.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/performance_controls/performance_controls_metrics.h"
#include "chrome/browser/ui/performance_controls/performance_intervention_bubble_observer.h"
#include "chrome/browser/ui/performance_controls/tab_list_model.h"
PerformanceInterventionBubbleDelegate::PerformanceInterventionBubbleDelegate(
Browser* browser,
std::unique_ptr<TabListModel> tab_list_model,
PerformanceInterventionBubbleObserver* observer)
: … { … }
PerformanceInterventionBubbleDelegate::
~PerformanceInterventionBubbleDelegate() = default;
void PerformanceInterventionBubbleDelegate::OnBubbleClosed() { … }
void PerformanceInterventionBubbleDelegate::OnDismissButtonClicked() { … }
void PerformanceInterventionBubbleDelegate::OnDeactivateButtonClicked() { … }