| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/cocoa/browser_window_controller_private.h" | 5 #import "chrome/browser/ui/cocoa/browser_window_controller_private.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/mac/bind_objc_block.h" | 10 #include "base/mac/bind_objc_block.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #import "chrome/browser/ui/cocoa/profiles/avatar_icon_controller.h" | 35 #import "chrome/browser/ui/cocoa/profiles/avatar_icon_controller.h" |
| 36 #import "chrome/browser/ui/cocoa/status_bubble_mac.h" | 36 #import "chrome/browser/ui/cocoa/status_bubble_mac.h" |
| 37 #import "chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h" | 37 #import "chrome/browser/ui/cocoa/tab_contents/overlayable_contents_controller.h" |
| 38 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" | 38 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" |
| 39 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" | 39 #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" |
| 40 #import "chrome/browser/ui/cocoa/version_independent_window.h" | 40 #import "chrome/browser/ui/cocoa/version_independent_window.h" |
| 41 #import "chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h" | 41 #import "chrome/browser/ui/cocoa/website_settings/permission_bubble_cocoa.h" |
| 42 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" | 42 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" |
| 43 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 43 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 44 #include "chrome/common/chrome_switches.h" | 44 #include "chrome/common/chrome_switches.h" |
| 45 #include "chrome/common/pref_names.h" | |
| 46 #include "content/public/browser/render_widget_host_view.h" | 45 #include "content/public/browser/render_widget_host_view.h" |
| 47 #include "content/public/browser/web_contents.h" | 46 #include "content/public/browser/web_contents.h" |
| 48 #import "ui/base/cocoa/focus_tracker.h" | 47 #import "ui/base/cocoa/focus_tracker.h" |
| 49 #import "ui/base/cocoa/nsview_additions.h" | 48 #import "ui/base/cocoa/nsview_additions.h" |
| 50 #include "ui/base/ui_base_types.h" | 49 #include "ui/base/ui_base_types.h" |
| 51 | 50 |
| 52 using content::RenderWidgetHostView; | 51 using content::RenderWidgetHostView; |
| 53 using content::WebContents; | 52 using content::WebContents; |
| 54 | 53 |
| 55 namespace { | 54 namespace { |
| (...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 } | 1086 } |
| 1088 if (!enteringAppKitFullscreen_) | 1087 if (!enteringAppKitFullscreen_) |
| 1089 return NO; | 1088 return NO; |
| 1090 if (enteringAppKitFullscreenOnPrimaryScreen_) | 1089 if (enteringAppKitFullscreenOnPrimaryScreen_) |
| 1091 return NO; | 1090 return NO; |
| 1092 | 1091 |
| 1093 return YES; | 1092 return YES; |
| 1094 } | 1093 } |
| 1095 | 1094 |
| 1096 @end // @implementation BrowserWindowController(Private) | 1095 @end // @implementation BrowserWindowController(Private) |
| OLD | NEW |