| 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 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 // If the tab alert state is AUDIO_MUTING, this method will check if the | 286 // If the tab alert state is AUDIO_MUTING, this method will check if the |
| 287 // window has no other tabs with state AUDIO_PLAYING. If so the window | 287 // window has no other tabs with state AUDIO_PLAYING. If so the window |
| 288 // alert state will be set to AUDIO_MUTING. If the tab alert state is NONE, | 288 // alert state will be set to AUDIO_MUTING. If the tab alert state is NONE, |
| 289 // this method checks if the window has no playing or muting tab, then window | 289 // this method checks if the window has no playing or muting tab, then window |
| 290 // alert state will be set to NONE. | 290 // alert state will be set to NONE. |
| 291 - (void)updateWindowAlertState:(TabAlertState)alertState | 291 - (void)updateWindowAlertState:(TabAlertState)alertState |
| 292 forWebContents:(content::WebContents*)changed; | 292 forWebContents:(content::WebContents*)changed; |
| 293 | 293 |
| 294 // Returns the alert state associated with the contents. | 294 // Returns the alert state associated with the contents. |
| 295 - (TabAlertState)alertStateForContents:(content::WebContents*)contents; | 295 - (TabAlertState)alertStateForContents:(content::WebContents*)contents; |
| 296 | |
| 297 // Leaving visual effects enabled when fullscreen results in higher power | |
| 298 // consumption. This is used to disable effects when fullscreen. | |
| 299 - (void)setVisualEffectsDisabledForFullscreen:(BOOL)disabled; | |
| 300 @end | 296 @end |
| 301 | 297 |
| 302 @interface TabStripController(TestingAPI) | 298 @interface TabStripController(TestingAPI) |
| 303 - (void)setTabTitle:(TabController*)tab | 299 - (void)setTabTitle:(TabController*)tab |
| 304 withContents:(content::WebContents*)contents; | 300 withContents:(content::WebContents*)contents; |
| 305 @end | 301 @end |
| 306 | 302 |
| 307 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ | 303 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ |
| OLD | NEW |