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 "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "chrome/browser/profiles/profile_info_cache_observer.h" | 37 #include "chrome/browser/profiles/profile_info_cache_observer.h" |
38 #include "chrome/browser/profiles/profile_manager.h" | 38 #include "chrome/browser/profiles/profile_manager.h" |
39 #include "chrome/browser/profiles/profiles_state.h" | 39 #include "chrome/browser/profiles/profiles_state.h" |
40 #include "chrome/browser/sessions/session_restore.h" | 40 #include "chrome/browser/sessions/session_restore.h" |
41 #include "chrome/browser/sessions/session_service.h" | 41 #include "chrome/browser/sessions/session_service.h" |
42 #include "chrome/browser/sessions/session_service_factory.h" | 42 #include "chrome/browser/sessions/session_service_factory.h" |
43 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 43 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
44 #include "chrome/browser/signin/signin_manager_factory.h" | 44 #include "chrome/browser/signin/signin_manager_factory.h" |
45 #include "chrome/browser/signin/signin_promo.h" | 45 #include "chrome/browser/signin/signin_promo.h" |
46 #include "chrome/browser/signin/signin_ui_util.h" | 46 #include "chrome/browser/signin/signin_ui_util.h" |
47 #include "chrome/browser/sync/profile_sync_service.h" | |
48 #include "chrome/browser/sync/sync_ui_util.h" | 47 #include "chrome/browser/sync/sync_ui_util.h" |
49 #include "chrome/browser/ui/browser.h" | 48 #include "chrome/browser/ui/browser.h" |
50 #include "chrome/browser/ui/browser_command_controller.h" | 49 #include "chrome/browser/ui/browser_command_controller.h" |
51 #include "chrome/browser/ui/browser_commands.h" | 50 #include "chrome/browser/ui/browser_commands.h" |
52 #include "chrome/browser/ui/browser_dialogs.h" | 51 #include "chrome/browser/ui/browser_dialogs.h" |
53 #include "chrome/browser/ui/browser_finder.h" | 52 #include "chrome/browser/ui/browser_finder.h" |
54 #include "chrome/browser/ui/browser_iterator.h" | 53 #include "chrome/browser/ui/browser_iterator.h" |
55 #include "chrome/browser/ui/browser_mac.h" | 54 #include "chrome/browser/ui/browser_mac.h" |
56 #include "chrome/browser/ui/browser_window.h" | 55 #include "chrome/browser/ui/browser_window.h" |
57 #include "chrome/browser/ui/chrome_pages.h" | 56 #include "chrome/browser/ui/chrome_pages.h" |
(...skipping 16 matching lines...) Expand all Loading... |
74 #include "chrome/browser/web_applications/web_app_mac.h" | 73 #include "chrome/browser/web_applications/web_app_mac.h" |
75 #include "chrome/common/chrome_paths_internal.h" | 74 #include "chrome/common/chrome_paths_internal.h" |
76 #include "chrome/common/chrome_switches.h" | 75 #include "chrome/common/chrome_switches.h" |
77 #include "chrome/common/cloud_print/cloud_print_class_mac.h" | 76 #include "chrome/common/cloud_print/cloud_print_class_mac.h" |
78 #include "chrome/common/extensions/extension_constants.h" | 77 #include "chrome/common/extensions/extension_constants.h" |
79 #include "chrome/common/mac/app_mode_common.h" | 78 #include "chrome/common/mac/app_mode_common.h" |
80 #include "chrome/common/pref_names.h" | 79 #include "chrome/common/pref_names.h" |
81 #include "chrome/common/url_constants.h" | 80 #include "chrome/common/url_constants.h" |
82 #include "chrome/grit/chromium_strings.h" | 81 #include "chrome/grit/chromium_strings.h" |
83 #include "chrome/grit/generated_resources.h" | 82 #include "chrome/grit/generated_resources.h" |
| 83 #include "components/browser_sync/browser/profile_sync_service.h" |
84 #include "components/handoff/handoff_manager.h" | 84 #include "components/handoff/handoff_manager.h" |
85 #include "components/handoff/handoff_utility.h" | 85 #include "components/handoff/handoff_utility.h" |
86 #include "components/sessions/core/tab_restore_service.h" | 86 #include "components/sessions/core/tab_restore_service.h" |
87 #include "components/signin/core/browser/signin_manager.h" | 87 #include "components/signin/core/browser/signin_manager.h" |
88 #include "components/signin/core/common/profile_management_switches.h" | 88 #include "components/signin/core/common/profile_management_switches.h" |
89 #include "content/public/browser/browser_thread.h" | 89 #include "content/public/browser/browser_thread.h" |
90 #include "content/public/browser/download_manager.h" | 90 #include "content/public/browser/download_manager.h" |
91 #include "content/public/browser/notification_service.h" | 91 #include "content/public/browser/notification_service.h" |
92 #include "content/public/browser/notification_types.h" | 92 #include "content/public/browser/notification_types.h" |
93 #include "content/public/browser/plugin_service.h" | 93 #include "content/public/browser/plugin_service.h" |
(...skipping 1607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1701 | 1701 |
1702 //--------------------------------------------------------------------------- | 1702 //--------------------------------------------------------------------------- |
1703 | 1703 |
1704 namespace app_controller_mac { | 1704 namespace app_controller_mac { |
1705 | 1705 |
1706 bool IsOpeningNewWindow() { | 1706 bool IsOpeningNewWindow() { |
1707 return g_is_opening_new_window; | 1707 return g_is_opening_new_window; |
1708 } | 1708 } |
1709 | 1709 |
1710 } // namespace app_controller_mac | 1710 } // namespace app_controller_mac |
OLD | NEW |