| Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
|
| index e2ef0086467175b9bdef9ac3867d29af98652997..6ecb25fe16d30a177b52566b228b91cffbab036a 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
|
| @@ -13,6 +13,7 @@
|
| #import "chrome/browser/ui/cocoa/tabs/tab_controller_target.h"
|
| #import "chrome/browser/ui/cocoa/url_drop_target.h"
|
| #include "chrome/browser/ui/tabs/hover_tab_selector.h"
|
| +#include "chrome/browser/ui/tabs/tab_utils.h"
|
|
|
| @class CrTrackingArea;
|
| @class CustomWindowControlsView;
|
| @@ -267,6 +268,20 @@ class WebContents;
|
| // Removes custom traffic light buttons from the tab strip. Idempotent.
|
| - (void)removeCustomWindowControls;
|
|
|
| +// Gets the tab and the media state to check whether the window
|
| +// media state should be updated or not. If the tab media state is
|
| +// AUDIO_PLAYING, the window media state should be set to AUDIO_PLAYING.
|
| +// If the tab media state is AUDIO_MUTING, this method would check if the
|
| +// window has no other tab with state AUDIO_PLAYING, then the window
|
| +// media state will be set to AUDIO_MUTING. If the tab media state is NONE,
|
| +// this method checks if the window has no playing or muting tab, then window
|
| +// media state will be set as NONE.
|
| +- (void)updateWindowMediaState:(TabMediaState)mediaState
|
| + on:(content::WebContents*)changed;
|
| +
|
| +// Returns the media state associated with the contents.
|
| +- (TabMediaState)mediaStateForContents:(content::WebContents*)contents;
|
| +
|
| @end
|
|
|
| @interface TabStripController(TestingAPI)
|
|
|