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/app_controller_mac.h" | 5 #import "chrome/browser/app_controller_mac.h" |
6 | 6 |
7 #include "apps/app_shim/app_shim_mac.h" | |
8 #include "apps/app_shim/extension_app_shim_handler_mac.h" | 7 #include "apps/app_shim/extension_app_shim_handler_mac.h" |
9 #include "apps/app_window_registry.h" | 8 #include "apps/app_window_registry.h" |
10 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
11 #include "base/bind.h" | 10 #include "base/bind.h" |
12 #include "base/command_line.h" | 11 #include "base/command_line.h" |
13 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
14 #include "base/mac/foundation_util.h" | 13 #include "base/mac/foundation_util.h" |
15 #include "base/mac/mac_util.h" | 14 #include "base/mac/mac_util.h" |
16 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
17 #include "base/prefs/pref_service.h" | 16 #include "base/prefs/pref_service.h" |
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1537 | 1536 |
1538 //--------------------------------------------------------------------------- | 1537 //--------------------------------------------------------------------------- |
1539 | 1538 |
1540 namespace app_controller_mac { | 1539 namespace app_controller_mac { |
1541 | 1540 |
1542 bool IsOpeningNewWindow() { | 1541 bool IsOpeningNewWindow() { |
1543 return g_is_opening_new_window; | 1542 return g_is_opening_new_window; |
1544 } | 1543 } |
1545 | 1544 |
1546 } // namespace app_controller_mac | 1545 } // namespace app_controller_mac |
OLD | NEW |