OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/l10n_util_mac.h" | 8 #include "app/l10n_util_mac.h" |
9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/mac/mac_util.h" | 12 #include "base/mac/mac_util.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" |
15 #include "base/sys_string_conversions.h" | 15 #include "base/sys_string_conversions.h" |
16 #include "chrome/app/chrome_command_ids.h" | 16 #include "chrome/app/chrome_command_ids.h" |
17 #include "chrome/browser/background_application_list_model.h" | 17 #include "chrome/browser/background_application_list_model.h" |
18 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
19 #include "chrome/browser/browser_shutdown.h" | 19 #include "chrome/browser/browser_shutdown.h" |
20 #include "chrome/browser/browser_thread.h" | 20 #include "chrome/browser/browser_thread.h" |
21 #include "chrome/browser/command_updater.h" | 21 #include "chrome/browser/command_updater.h" |
22 #include "chrome/browser/download/download_manager.h" | 22 #include "chrome/browser/download/download_manager.h" |
23 #include "chrome/browser/metrics/user_metrics.h" | 23 #include "chrome/browser/metrics/user_metrics.h" |
24 #include "chrome/browser/prefs/pref_service.h" | |
25 #include "chrome/browser/printing/print_job_manager.h" | 24 #include "chrome/browser/printing/print_job_manager.h" |
26 #include "chrome/browser/profiles/profile_manager.h" | 25 #include "chrome/browser/profiles/profile_manager.h" |
27 #include "chrome/browser/sessions/tab_restore_service.h" | 26 #include "chrome/browser/sessions/tab_restore_service.h" |
28 #include "chrome/browser/sync/profile_sync_service.h" | 27 #include "chrome/browser/sync/profile_sync_service.h" |
29 #include "chrome/browser/sync/sync_ui_util.h" | 28 #include "chrome/browser/sync/sync_ui_util.h" |
30 #include "chrome/browser/sync/sync_ui_util_mac.h" | 29 #include "chrome/browser/sync/sync_ui_util_mac.h" |
31 #include "chrome/browser/tab_contents/tab_contents.h" | 30 #include "chrome/browser/tab_contents/tab_contents.h" |
32 #include "chrome/browser/ui/browser.h" | 31 #include "chrome/browser/ui/browser.h" |
33 #include "chrome/browser/ui/browser_init.h" | 32 #include "chrome/browser/ui/browser_init.h" |
34 #include "chrome/browser/ui/browser_list.h" | 33 #include "chrome/browser/ui/browser_list.h" |
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 [appController showPreferencesWindow:nil page:page profile:profile]; | 1259 [appController showPreferencesWindow:nil page:page profile:profile]; |
1261 } | 1260 } |
1262 | 1261 |
1263 namespace app_controller_mac { | 1262 namespace app_controller_mac { |
1264 | 1263 |
1265 bool IsOpeningNewWindow() { | 1264 bool IsOpeningNewWindow() { |
1266 return g_is_opening_new_window; | 1265 return g_is_opening_new_window; |
1267 } | 1266 } |
1268 | 1267 |
1269 } // namespace app_controller_mac | 1268 } // namespace app_controller_mac |
OLD | NEW |