| 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" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #import "chrome/browser/cocoa/history_menu_bridge.h" | 31 #import "chrome/browser/cocoa/history_menu_bridge.h" |
| 32 #import "chrome/browser/cocoa/import_settings_dialog.h" | 32 #import "chrome/browser/cocoa/import_settings_dialog.h" |
| 33 #import "chrome/browser/cocoa/preferences_window_controller.h" | 33 #import "chrome/browser/cocoa/preferences_window_controller.h" |
| 34 #import "chrome/browser/cocoa/tab_strip_controller.h" | 34 #import "chrome/browser/cocoa/tab_strip_controller.h" |
| 35 #import "chrome/browser/cocoa/tab_window_controller.h" | 35 #import "chrome/browser/cocoa/tab_window_controller.h" |
| 36 #include "chrome/browser/cocoa/task_manager_mac.h" | 36 #include "chrome/browser/cocoa/task_manager_mac.h" |
| 37 #include "chrome/browser/command_updater.h" | 37 #include "chrome/browser/command_updater.h" |
| 38 #include "chrome/browser/download/download_manager.h" | 38 #include "chrome/browser/download/download_manager.h" |
| 39 #include "chrome/browser/metrics/user_metrics.h" | 39 #include "chrome/browser/metrics/user_metrics.h" |
| 40 #include "chrome/browser/options_window.h" | 40 #include "chrome/browser/options_window.h" |
| 41 #include "chrome/browser/pref_service.h" | 41 #include "chrome/browser/prefs/pref_service.h" |
| 42 #include "chrome/browser/profile_manager.h" | 42 #include "chrome/browser/profile_manager.h" |
| 43 #include "chrome/browser/sessions/tab_restore_service.h" | 43 #include "chrome/browser/sessions/tab_restore_service.h" |
| 44 #include "chrome/browser/sync/profile_sync_service.h" | 44 #include "chrome/browser/sync/profile_sync_service.h" |
| 45 #include "chrome/browser/sync/sync_ui_util.h" | 45 #include "chrome/browser/sync/sync_ui_util.h" |
| 46 #include "chrome/browser/sync/sync_ui_util_mac.h" | 46 #include "chrome/browser/sync/sync_ui_util_mac.h" |
| 47 #include "chrome/browser/tab_contents/tab_contents.h" | 47 #include "chrome/browser/tab_contents/tab_contents.h" |
| 48 #include "chrome/common/app_mode_common_mac.h" | 48 #include "chrome/common/app_mode_common_mac.h" |
| 49 #include "chrome/common/chrome_paths_internal.h" | 49 #include "chrome/common/chrome_paths_internal.h" |
| 50 #include "chrome/common/chrome_switches.h" | 50 #include "chrome/common/chrome_switches.h" |
| 51 #include "chrome/common/notification_service.h" | 51 #include "chrome/common/notification_service.h" |
| (...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 [appController showPreferencesWindow:nil page:page profile:profile]; | 1079 [appController showPreferencesWindow:nil page:page profile:profile]; |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 namespace app_controller_mac { | 1082 namespace app_controller_mac { |
| 1083 | 1083 |
| 1084 bool IsOpeningNewWindow() { | 1084 bool IsOpeningNewWindow() { |
| 1085 return g_is_opening_new_window; | 1085 return g_is_opening_new_window; |
| 1086 } | 1086 } |
| 1087 | 1087 |
| 1088 } // namespace app_controller_mac | 1088 } // namespace app_controller_mac |
| OLD | NEW |