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

Side by Side Diff: chrome/browser/ui/cocoa/presentation_mode_controller.h

Issue 523233002: mac: Remove simplified fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new_fullscreen2
Patch Set: Rebase against top of tree. Created 6 years, 3 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_PRESENTATION_MODE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_H_
7 7
8 #include <Carbon/Carbon.h> 8 #include <Carbon/Carbon.h>
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/mac/mac_util.h" 11 #include "base/mac/mac_util.h"
12 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" 12 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h"
13 13
14 @class BrowserWindowController; 14 @class BrowserWindowController;
15 @class DropdownAnimation; 15 @class DropdownAnimation;
16 16
17 namespace fullscreen_mac { 17 namespace fullscreen_mac {
18 enum SlidingStyle { 18 enum SlidingStyle {
19 OMNIBOX_TABS_PRESENT = 0, // Tab strip and omnibox both visible. 19 OMNIBOX_TABS_PRESENT = 0, // Tab strip and omnibox both visible.
20 OMNIBOX_PRESENT, // Tab strip hidden.
21 OMNIBOX_TABS_HIDDEN, // Tab strip and omnibox both hidden. 20 OMNIBOX_TABS_HIDDEN, // Tab strip and omnibox both hidden.
22 }; 21 };
23 } // namespace fullscreen_mac 22 } // namespace fullscreen_mac
24 23
25 // TODO(erikchen): This controller is misnamed. It manages the sliding tab 24 // TODO(erikchen): This controller is misnamed. It manages the sliding tab
26 // strip and omnibox in all fullscreen modes. 25 // strip and omnibox in all fullscreen modes.
27 26
28 // Provides a controller to manage presentation mode for a single browser 27 // Provides a controller to manage presentation mode for a single browser
29 // window. This class handles running animations, showing and hiding the 28 // window. This class handles running animations, showing and hiding the
30 // floating dropdown bar, and managing the tracking area associated with the 29 // floating dropdown bar, and managing the tracking area associated with the
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // Ranges from 0 to -22. 140 // Ranges from 0 to -22.
142 - (CGFloat)menubarOffset; 141 - (CGFloat)menubarOffset;
143 142
144 @end 143 @end
145 144
146 // Notification posted when we're about to enter or leave fullscreen. 145 // Notification posted when we're about to enter or leave fullscreen.
147 extern NSString* const kWillEnterFullscreenNotification; 146 extern NSString* const kWillEnterFullscreenNotification;
148 extern NSString* const kWillLeaveFullscreenNotification; 147 extern NSString* const kWillLeaveFullscreenNotification;
149 148
150 #endif // CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_H_ 149 #endif // CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller_private.mm ('k') | chrome/browser/ui/fullscreen/fullscreen_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698