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

Side by Side Diff: chrome/browser/ui/cocoa/fullscreen/immersive_fullscreen_controller.h

Issue 2484973004: [Mac] Refactor Immersive Fullscreen Logic (Closed)
Patch Set: Fix for erikchen Created 4 years, 1 month 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H
6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H
7
8 #import <Cocoa/Cocoa.h>
9
10 @class BrowserWindowController;
11
12 // This class manages the menubar and dock visibility for Immersive Fullscreen.
13 // It uses a tracking area to show/hide the menubar if the user interacts with
14 // the top of the screen.
15 @interface ImmersiveFullscreenController : NSObject
16
17 // Designated initializer.
18 - (id)initWithBrowserController:(BrowserWindowController*)bwc;
Robert Sesek 2016/11/09 19:23:03 instancetype
spqchan 2016/11/09 22:34:40 Done.
19
20 // Updates the menubar and dock visibility according the state of the
21 // immersive fullscreen.
22 - (void)updateMenuBarAndDockVisibility;
23
24 // Returns YES if the menubar should be shown in immersive fullscreen for the
25 // screen that contains the window.
26 - (BOOL)shouldShowMenubar;
27
28 @end
29
30 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698