Chromium Code Reviews

Unified Diff: chrome/browser/cocoa/browser_window_cocoa.mm

Issue 126294: Mac fullscreen mode (with pkasting). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/cocoa/browser_window_cocoa.mm
===================================================================
--- chrome/browser/cocoa/browser_window_cocoa.mm (revision 19517)
+++ chrome/browser/cocoa/browser_window_cocoa.mm (working copy)
@@ -123,12 +123,11 @@
}
void BrowserWindowCocoa::SetFullscreen(bool fullscreen) {
- NOTIMPLEMENTED();
+ [controller_ setFullscreen:fullscreen];
}
bool BrowserWindowCocoa::IsFullscreen() const {
- NOTIMPLEMENTED();
- return false;
+ return !![controller_ isFullscreen];
}
gfx::Rect BrowserWindowCocoa::GetRootWindowResizerRect() const {
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_controller.mm ('k') | chrome/browser/cocoa/browser_window_cocoa_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine