#include "chrome/browser/ui/tabs/tab_utils.h"
#include <utility>
#include "base/feature_list.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
#include "chrome/browser/media/webrtc/media_stream_capture_indicator.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/recently_audible_helper.h"
#include "chrome/browser/ui/tabs/tab_enums.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/vr/vr_tab_helper.h"
#include "chrome/grit/generated_resources.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "content/public/common/content_features.h"
#include "content/public/common/url_constants.h"
#include "ui/base/l10n/l10n_util.h"
std::vector<TabAlertState> GetTabAlertStatesForContents(
content::WebContents* contents) { … }
std::u16string GetTabAlertStateText(const TabAlertState alert_state) { … }
TabMutedReason GetTabAudioMutedReason(content::WebContents* contents) { … }
bool SetTabAudioMuted(content::WebContents* contents,
bool mute,
TabMutedReason reason,
const std::string& extension_id) { … }
bool IsSiteMuted(const TabStripModel& tab_strip, const int index) { … }
bool AreAllSitesMuted(const TabStripModel& tab_strip,
const std::vector<int>& indices) { … }
LastMuteMetadata::LastMuteMetadata(content::WebContents* contents)
: … { … }
WEB_CONTENTS_USER_DATA_KEY_IMPL(LastMuteMetadata);