OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/mac/cocoa_protocols.h" | |
11 #include "base/mac/mac_util.h" | 10 #include "base/mac/mac_util.h" |
12 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" | 11 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" |
13 | 12 |
14 @class BrowserWindowController; | 13 @class BrowserWindowController; |
15 @class DropdownAnimation; | 14 @class DropdownAnimation; |
16 | 15 |
17 // Provides a controller to manage presentation mode for a single browser | 16 // Provides a controller to manage presentation mode for a single browser |
18 // window. This class handles running animations, showing and hiding the | 17 // window. This class handles running animations, showing and hiding the |
19 // floating dropdown bar, and managing the tracking area associated with the | 18 // floating dropdown bar, and managing the tracking area associated with the |
20 // dropdown. This class does not directly manage any views -- the | 19 // dropdown. This class does not directly manage any views -- the |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 // effects, such as modifying the system fullscreen mode (menu bar shown state). | 114 // effects, such as modifying the system fullscreen mode (menu bar shown state). |
116 - (void)changeFloatingBarShownFraction:(CGFloat)fraction; | 115 - (void)changeFloatingBarShownFraction:(CGFloat)fraction; |
117 | 116 |
118 @end | 117 @end |
119 | 118 |
120 // Notification posted when we're about to enter or leave fullscreen. | 119 // Notification posted when we're about to enter or leave fullscreen. |
121 extern NSString* const kWillEnterFullscreenNotification; | 120 extern NSString* const kWillEnterFullscreenNotification; |
122 extern NSString* const kWillLeaveFullscreenNotification; | 121 extern NSString* const kWillLeaveFullscreenNotification; |
123 | 122 |
124 #endif // CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_H_ | 123 #endif // CHROME_BROWSER_UI_COCOA_PRESENTATION_MODE_CONTROLLER_H_ |
OLD | NEW |