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

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

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/ui/cocoa/browser_window_controller.h ('k') | chrome/browser/ui/cocoa/tabs/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
index e3e5683ddb48259b4221ed889a081699635a1f37..482d271ab2c3e7fcc3aac38ca3adba0a66cc1dbf 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -1889,13 +1889,13 @@ willAnimateFromState:(BookmarkBar::State)oldState
command.accelerator());
}
-- (void)setMediaState:(TabMediaState)mediaState {
+- (void)setAlertState:(TabAlertState)alertState {
static_cast<BrowserWindowCocoa*>([self browserWindow])
- ->UpdateMediaState(mediaState);
+ ->UpdateAlertState(alertState);
}
-- (TabMediaState)mediaState {
- return static_cast<BrowserWindowCocoa*>([self browserWindow])->media_state();
+- (TabAlertState)alertState {
+ return static_cast<BrowserWindowCocoa*>([self browserWindow])->alert_state();
}
@end // @implementation BrowserWindowController
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.h ('k') | chrome/browser/ui/cocoa/tabs/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698