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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 1827083004: UI: Rename MediaState to AlertState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-tab-indicator
Patch Set: Rename to alert state 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
Index: chrome/browser/ui/cocoa/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index e305c5eb16c81fddb0955094780cdb3262d594cc..20f82bf9bcec54d12cb953b6109234fe05fcf280 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -380,12 +380,13 @@ class Command;
- (void)executeExtensionCommand:(const std::string&)extension_id
command:(const extensions::Command&)command;
-// To set whether the window has a tab playing audio or muted audio playing.
-- (void)setMediaState:(TabMediaState)mediaState;
+// Sets the alert state of the tab e.g. audio playing, media recording, etc.
+// Sett TabUtils::TabAlertState for a list of all possible alert states.
miu 2016/03/29 02:22:52 s/Sett/See/
ortuno 2016/03/29 15:14:54 Done.
+- (void)setAlertState:(TabAlertState)alertState;
-// Returns current media state, determined by the media state of tabs, set by
-// UpdateMediaState.
-- (TabMediaState)mediaState;
+// Returns current alert state, determined by the alert state of tabs, set by
+// UpdateAlertState.
+- (TabAlertState)alertState;
@end // @interface BrowserWindowController
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698