chromium/chrome/browser/ui/performance_controls/memory_saver_chip_tab_helper.cc

// Copyright 2022 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/performance_controls/memory_saver_chip_tab_helper.h"

#include "chrome/browser/performance_manager/public/user_tuning/user_performance_tuning_manager.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/performance_controls/memory_saver_utils.h"
#include "chrome/common/pref_names.h"
#include "components/performance_manager/public/user_tuning/prefs.h"
#include "content/public/browser/visibility.h"
#include "content/public/common/url_constants.h"

MemorySaverChipTabHelper::~MemorySaverChipTabHelper() = default;

void MemorySaverChipTabHelper::DidStartNavigation(
    content::NavigationHandle* navigation_handle) {}

void MemorySaverChipTabHelper::OnVisibilityChanged(
    content::Visibility visibility) {}

bool MemorySaverChipTabHelper::ShouldChipAnimate() {}

MemorySaverChipTabHelper::MemorySaverChipTabHelper(
    content::WebContents* contents)
    :{}

bool MemorySaverChipTabHelper::ComputeShouldHighlightMemorySavings() {}

bool MemorySaverChipTabHelper::ComputeShouldEducateAboutMemorySavings() {}

void MemorySaverChipTabHelper::ComputeChipState(
    content::NavigationHandle* navigation_handle) {}

WEB_CONTENTS_USER_DATA_KEY_IMPL(MemorySaverChipTabHelper);