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

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

Issue 2637403002: Fix header guards in //chrome (Closed)
Patch Set: Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 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 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_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H 5 #ifndef CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H 6 #define CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 @class BrowserWindowController; 10 @class BrowserWindowController;
11 11
12 // This class manages the menubar and dock visibility for Immersive Fullscreen. 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 13 // It uses a tracking area to show/hide the menubar if the user interacts with
14 // the top of the screen. 14 // the top of the screen.
15 @interface ImmersiveFullscreenController : NSObject 15 @interface ImmersiveFullscreenController : NSObject
16 16
17 // Designated initializer. 17 // Designated initializer.
18 - (instancetype)initWithBrowserController:(BrowserWindowController*)bwc; 18 - (instancetype)initWithBrowserController:(BrowserWindowController*)bwc;
19 19
20 // Updates the menubar and dock visibility according the state of the 20 // Updates the menubar and dock visibility according the state of the
21 // immersive fullscreen. 21 // immersive fullscreen.
22 - (void)updateMenuBarAndDockVisibility; 22 - (void)updateMenuBarAndDockVisibility;
23 23
24 // Returns YES if the menubar should be shown in immersive fullscreen for the 24 // Returns YES if the menubar should be shown in immersive fullscreen for the
25 // screen that contains the window. 25 // screen that contains the window.
26 - (BOOL)shouldShowMenubar; 26 - (BOOL)shouldShowMenubar;
27 27
28 @end 28 @end
29 29
30 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H 30 #endif // CHROME_BROWSER_UI_COCOA_FULLSCREEN_IMMERSIVE_FULLSCREEN_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698