| OLD | NEW |
| 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_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| 7 | 7 |
| 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
| 9 #import "chrome/browser/ui/cocoa/browser_window_layout.h" | 9 #import "chrome/browser/ui/cocoa/browser_window_layout.h" |
| 10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" | 10 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" |
| 11 | 11 |
| 12 @class BrowserWindowLayout; | 12 @class BrowserWindowLayout; |
| 13 class PermissionBubbleManager; | |
| 14 | 13 |
| 15 namespace content { | 14 namespace content { |
| 16 class WebContents; | 15 class WebContents; |
| 17 } // content. | 16 } // content. |
| 18 | 17 |
| 19 // Private methods for the |BrowserWindowController|. This category should | 18 // Private methods for the |BrowserWindowController|. This category should |
| 20 // contain the private methods used by different parts of the BWC; private | 19 // contain the private methods used by different parts of the BWC; private |
| 21 // methods used only by single parts should be declared in their own file. | 20 // methods used only by single parts should be declared in their own file. |
| 22 // TODO(viettrungluu): [crbug.com/35543] work on splitting out stuff from the | 21 // TODO(viettrungluu): [crbug.com/35543] work on splitting out stuff from the |
| 23 // BWC, and figuring out which methods belong here (need to unravel | 22 // BWC, and figuring out which methods belong here (need to unravel |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // applied to fix the size of the window. | 162 // applied to fix the size of the window. |
| 164 // http://crbug.com/396980 | 163 // http://crbug.com/396980 |
| 165 + (BOOL)systemSettingsRequireMavericksAppKitFullscreenHack; | 164 + (BOOL)systemSettingsRequireMavericksAppKitFullscreenHack; |
| 166 - (BOOL)shouldUseMavericksAppKitFullscreenHack; | 165 - (BOOL)shouldUseMavericksAppKitFullscreenHack; |
| 167 | 166 |
| 168 // Whether the instance should use a custom transition when animating into and | 167 // Whether the instance should use a custom transition when animating into and |
| 169 // out of AppKit Fullscreen. | 168 // out of AppKit Fullscreen. |
| 170 - (BOOL)shouldUseCustomAppKitFullscreenTransition; | 169 - (BOOL)shouldUseCustomAppKitFullscreenTransition; |
| 171 | 170 |
| 172 - (content::WebContents*)webContents; | 171 - (content::WebContents*)webContents; |
| 173 - (PermissionBubbleManager*)permissionBubbleManager; | |
| 174 | 172 |
| 175 #if defined(MAC_OS_X_VERSION_10_7) && \ | 173 #if defined(MAC_OS_X_VERSION_10_7) && \ |
| 176 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 | 174 MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 |
| 177 // Redeclare some methods from NSWindowDelegate to suppress | 175 // Redeclare some methods from NSWindowDelegate to suppress |
| 178 // -Wpartial-availability warnings. | 176 // -Wpartial-availability warnings. |
| 179 - (void)windowDidEnterFullScreen:(NSNotification*)notification; | 177 - (void)windowDidEnterFullScreen:(NSNotification*)notification; |
| 180 - (void)windowDidExitFullScreen:(NSNotification*)notification; | 178 - (void)windowDidExitFullScreen:(NSNotification*)notification; |
| 181 - (void)windowWillExitFullScreen:(NSNotification*)notification; | 179 - (void)windowWillExitFullScreen:(NSNotification*)notification; |
| 182 #endif | 180 #endif |
| 183 | 181 |
| 184 @end // @interface BrowserWindowController(Private) | 182 @end // @interface BrowserWindowController(Private) |
| 185 | 183 |
| 186 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ | 184 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ |
| OLD | NEW |