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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.h

Issue 2074933006: Mac: Disable visual effects when fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // window has no other tabs with state AUDIO_PLAYING. If so the window 283 // window has no other tabs with state AUDIO_PLAYING. If so the window
284 // alert state will be set to AUDIO_MUTING. If the tab alert state is NONE, 284 // alert state will be set to AUDIO_MUTING. If the tab alert state is NONE,
285 // this method checks if the window has no playing or muting tab, then window 285 // this method checks if the window has no playing or muting tab, then window
286 // alert state will be set to NONE. 286 // alert state will be set to NONE.
287 - (void)updateWindowAlertState:(TabAlertState)alertState 287 - (void)updateWindowAlertState:(TabAlertState)alertState
288 forWebContents:(content::WebContents*)changed; 288 forWebContents:(content::WebContents*)changed;
289 289
290 // Returns the alert state associated with the contents. 290 // Returns the alert state associated with the contents.
291 - (TabAlertState)alertStateForContents:(content::WebContents*)contents; 291 - (TabAlertState)alertStateForContents:(content::WebContents*)contents;
292 292
293 // Leaving visual effects enabled when fullscreen results in higher power
294 // consumption. This is used to disable effects when fullscreen.
295 - (void)setVisualEffectsDisabledForFullscreen:(BOOL)disabled;
293 @end 296 @end
294 297
295 @interface TabStripController(TestingAPI) 298 @interface TabStripController(TestingAPI)
296 - (void)setTabTitle:(TabController*)tab 299 - (void)setTabTitle:(TabController*)tab
297 withContents:(content::WebContents*)contents; 300 withContents:(content::WebContents*)contents;
298 @end 301 @end
299 302
300 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ 303 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_private.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698