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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller_unittest.mm

Issue 7566016: Fullscreen support for Lion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/browser_window_controller_unittest.mm
===================================================================
--- chrome/browser/ui/cocoa/browser_window_controller_unittest.mm (revision 95517)
+++ chrome/browser/ui/cocoa/browser_window_controller_unittest.mm (working copy)
@@ -644,7 +644,7 @@
@private
// We release the window ourselves, so we don't have to rely on the unittest
// doing it for us.
- scoped_nsobject<NSWindow> fullscreenWindow_;
+ scoped_nsobject<NSWindow> testFullscreenWindow_;
}
@end
@@ -713,15 +713,15 @@
// whole screen. We have to return an actual window because |-layoutSubviews|
// looks at the window's frame.
- (NSWindow*)createFullscreenWindow {
- if (fullscreenWindow_.get())
- return fullscreenWindow_.get();
+ if (testFullscreenWindow_.get())
+ return testFullscreenWindow_.get();
- fullscreenWindow_.reset(
+ testFullscreenWindow_.reset(
[[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400)
styleMask:NSBorderlessWindowMask
backing:NSBackingStoreBuffered
defer:NO]);
- return fullscreenWindow_.get();
+ return testFullscreenWindow_.get();
}
@end

Powered by Google App Engine
This is Rietveld 408576698