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 #import "chrome/browser/fullscreen.h" | 5 #import "chrome/browser/fullscreen.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/mac/mac_util.h" | 10 #include "base/mac/mac_util.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 if (options & NSApplicationPresentationFullScreen) | 33 if (options & NSApplicationPresentationFullScreen) |
34 return true; | 34 return true; |
35 | 35 |
36 return false; | 36 return false; |
37 } | 37 } |
38 | 38 |
39 namespace chrome { | 39 namespace chrome { |
40 namespace mac { | 40 namespace mac { |
41 | 41 |
42 bool SupportsSystemFullscreen() { | 42 bool SupportsSystemFullscreen() { |
43 return base::mac::IsOSLionOrLater(); | 43 // TODO(spqchan): Clean this up, https://crbug.com/579259 |
| 44 return true; |
44 } | 45 } |
45 | 46 |
46 } // namespace mac | 47 } // namespace mac |
47 } // namespace chrome | 48 } // namespace chrome |
OLD | NEW |