Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2284)

Unified Diff: chrome/browser/extensions/extension_tab_util.cc

Issue 1827083004: UI: Rename MediaState to AlertState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-tab-indicator
Patch Set: Keep gypi ordered Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tab_util.cc
diff --git a/chrome/browser/extensions/extension_tab_util.cc b/chrome/browser/extensions/extension_tab_util.cc
index 91ca5041898ff9ed0ef7eaf0c573913fde72cb86..ad3c5d4bce36d378d0a96e4bc80715bcf01759ec 100644
--- a/chrome/browser/extensions/extension_tab_util.cc
+++ b/chrome/browser/extensions/extension_tab_util.cc
@@ -418,16 +418,16 @@ scoped_ptr<api::tabs::MutedInfo> ExtensionTabUtil::CreateMutedInfo(
scoped_ptr<api::tabs::MutedInfo> info(new api::tabs::MutedInfo);
info->muted = contents->IsAudioMuted();
switch (chrome::GetTabAudioMutedReason(contents)) {
- case TAB_MUTED_REASON_NONE:
+ case TabMutedReason::NONE:
break;
- case TAB_MUTED_REASON_CONTEXT_MENU:
- case TAB_MUTED_REASON_AUDIO_INDICATOR:
+ case TabMutedReason::CONTEXT_MENU:
+ case TabMutedReason::AUDIO_INDICATOR:
info->reason = api::tabs::MUTED_INFO_REASON_USER;
break;
- case TAB_MUTED_REASON_MEDIA_CAPTURE:
+ case TabMutedReason::MEDIA_CAPTURE:
info->reason = api::tabs::MUTED_INFO_REASON_CAPTURE;
break;
- case TAB_MUTED_REASON_EXTENSION:
+ case TabMutedReason::EXTENSION:
info->reason = api::tabs::MUTED_INFO_REASON_EXTENSION;
info->extension_id.reset(
new std::string(chrome::GetExtensionIdForMutedTab(contents)));
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698