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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa_unittest.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
Index: chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm b/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm
index a55de3d3f7051ab0780d9a2f54841909e75dd5ca..4f332a79ff888e05f06e240364d0b0931cfccb3a 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm
@@ -59,13 +59,13 @@ TEST_F(BrowserWindowCocoaTest, TestWindowTitle) {
[bwc->WindowTitle() rangeOfString:playing_emoji].location);
EXPECT_EQ(static_cast<NSUInteger>(NSNotFound),
[bwc->WindowTitle() rangeOfString:muting_emoji].location);
- bwc->UpdateMediaState(TAB_MEDIA_STATE_AUDIO_PLAYING);
+ bwc->UpdateAlertState(TabAlertState::AUDIO_PLAYING);
EXPECT_NE(static_cast<NSUInteger>(NSNotFound),
[bwc->WindowTitle() rangeOfString:playing_emoji].location);
- bwc->UpdateMediaState(TAB_MEDIA_STATE_AUDIO_MUTING);
+ bwc->UpdateAlertState(TabAlertState::AUDIO_MUTING);
EXPECT_NE(static_cast<NSUInteger>(NSNotFound),
[bwc->WindowTitle() rangeOfString:muting_emoji].location);
- bwc->UpdateMediaState(TAB_MEDIA_STATE_NONE);
+ bwc->UpdateAlertState(TabAlertState::NONE);
EXPECT_EQ(static_cast<NSUInteger>(NSNotFound),
[bwc->WindowTitle() rangeOfString:playing_emoji].location);
EXPECT_EQ(static_cast<NSUInteger>(NSNotFound),
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698