| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
| 8 #include "base/mac/scoped_nsautorelease_pool.h" | 8 #include "base/mac/scoped_nsautorelease_pool.h" |
| 9 #include "chrome/browser/media/media_capture_devices_dispatcher.h" | 9 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h" |
| 10 #include "chrome/browser/media/media_stream_capture_indicator.h" | 10 #include "chrome/browser/media/webrtc/media_stream_capture_indicator.h" |
| 11 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
| 12 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 12 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
| 13 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 13 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
| 14 #import "chrome/browser/ui/cocoa/new_tab_button.h" | 14 #import "chrome/browser/ui/cocoa/new_tab_button.h" |
| 15 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h" | 15 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h" |
| 16 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" | 16 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" |
| 17 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" | 17 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" |
| 18 #import "chrome/browser/ui/cocoa/tabs/tab_view.h" | 18 #import "chrome/browser/ui/cocoa/tabs/tab_view.h" |
| 19 #include "chrome/browser/ui/tabs/tab_utils.h" | 19 #include "chrome/browser/ui/tabs/tab_utils.h" |
| 20 #include "chrome/browser/ui/tabs/test_tab_strip_model_delegate.h" | 20 #include "chrome/browser/ui/tabs/test_tab_strip_model_delegate.h" |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 [tabStripControllerForTesting setAlertStateForContents:contents_at_tab0 | 486 [tabStripControllerForTesting setAlertStateForContents:contents_at_tab0 |
| 487 withAlertState:TabAlertState::NONE]; | 487 withAlertState:TabAlertState::NONE]; |
| 488 [controller_ updateWindowAlertState:TabAlertState::NONE | 488 [controller_ updateWindowAlertState:TabAlertState::NONE |
| 489 forWebContents:contents_at_tab0]; | 489 forWebContents:contents_at_tab0]; |
| 490 // Neither of tabs playing nor muting, so the window alert state should be | 490 // Neither of tabs playing nor muting, so the window alert state should be |
| 491 // NONE. | 491 // NONE. |
| 492 EXPECT_EQ(TabAlertState::NONE, [window_controller alertState]); | 492 EXPECT_EQ(TabAlertState::NONE, [window_controller alertState]); |
| 493 } | 493 } |
| 494 | 494 |
| 495 } // namespace | 495 } // namespace |
| OLD | NEW |