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 <stddef.h> |
| 8 |
7 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
11 #include "base/mac/foundation_util.h" | 13 #include "base/mac/foundation_util.h" |
12 #include "base/mac/mac_util.h" | 14 #include "base/mac/mac_util.h" |
13 #include "base/mac/sdk_forward_declarations.h" | 15 #include "base/mac/sdk_forward_declarations.h" |
| 16 #include "base/macros.h" |
14 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
15 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
16 #include "base/prefs/pref_service.h" | 19 #include "base/prefs/pref_service.h" |
17 #include "base/stl_util.h" | 20 #include "base/stl_util.h" |
18 #include "base/strings/string_number_conversions.h" | 21 #include "base/strings/string_number_conversions.h" |
19 #include "base/strings/sys_string_conversions.h" | 22 #include "base/strings/sys_string_conversions.h" |
20 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
21 #include "chrome/app/chrome_command_ids.h" | 24 #include "chrome/app/chrome_command_ids.h" |
22 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h" | 25 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h" |
23 #include "chrome/browser/apps/app_window_registry_util.h" | 26 #include "chrome/browser/apps/app_window_registry_util.h" |
(...skipping 1678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1702 | 1705 |
1703 //--------------------------------------------------------------------------- | 1706 //--------------------------------------------------------------------------- |
1704 | 1707 |
1705 namespace app_controller_mac { | 1708 namespace app_controller_mac { |
1706 | 1709 |
1707 bool IsOpeningNewWindow() { | 1710 bool IsOpeningNewWindow() { |
1708 return g_is_opening_new_window; | 1711 return g_is_opening_new_window; |
1709 } | 1712 } |
1710 | 1713 |
1711 } // namespace app_controller_mac | 1714 } // namespace app_controller_mac |
OLD | NEW |