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

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

Issue 8399017: Fix a crash in FullscreenExitBubbleController when the user clicks the "Exit full screen" button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698