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_BROWSER_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // A class acting as the Objective-C controller for the Browser | 9 // A class acting as the Objective-C controller for the Browser |
10 // object. Handles interactions between Cocoa and the cross-platform | 10 // object. Handles interactions between Cocoa and the cross-platform |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 - (NSWindow*)createFullscreenWindow; | 453 - (NSWindow*)createFullscreenWindow; |
454 | 454 |
455 // Resets any saved state about window growth (due to showing the bookmark bar | 455 // Resets any saved state about window growth (due to showing the bookmark bar |
456 // or the download shelf), so that future shrinking will occur from the bottom. | 456 // or the download shelf), so that future shrinking will occur from the bottom. |
457 - (void)resetWindowGrowthState; | 457 - (void)resetWindowGrowthState; |
458 | 458 |
459 // Computes by how far in each direction, horizontal and vertical, the | 459 // Computes by how far in each direction, horizontal and vertical, the |
460 // |source| rect doesn't fit into |target|. | 460 // |source| rect doesn't fit into |target|. |
461 - (NSSize)overflowFrom:(NSRect)source | 461 - (NSSize)overflowFrom:(NSRect)source |
462 to:(NSRect)target; | 462 to:(NSRect)target; |
| 463 |
| 464 // The fullscreen exit bubble controller, or nil if the bubble isn't showing. |
| 465 - (FullscreenExitBubbleController*)fullscreenExitBubbleController; |
463 @end // @interface BrowserWindowController (TestingAPI) | 466 @end // @interface BrowserWindowController (TestingAPI) |
464 | 467 |
465 | 468 |
466 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 469 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
OLD | NEW |