| 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_util.h" | 12 #include "base/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 #import "base/worker_pool_mac.h" | 16 #import "base/worker_pool_mac.h" |
| 17 #include "chrome/app/chrome_dll_resource.h" | 17 #include "chrome/app/chrome_command_ids.h" |
| 18 #include "chrome/browser/browser.h" | 18 #include "chrome/browser/browser.h" |
| 19 #include "chrome/browser/browser_init.h" | 19 #include "chrome/browser/browser_init.h" |
| 20 #include "chrome/browser/browser_list.h" | 20 #include "chrome/browser/browser_list.h" |
| 21 #include "chrome/browser/browser_process.h" | 21 #include "chrome/browser/browser_process.h" |
| 22 #include "chrome/browser/browser_shutdown.h" | 22 #include "chrome/browser/browser_shutdown.h" |
| 23 #include "chrome/browser/browser_thread.h" | 23 #include "chrome/browser/browser_thread.h" |
| 24 #include "chrome/browser/browser_window.h" | 24 #include "chrome/browser/browser_window.h" |
| 25 #import "chrome/browser/cocoa/about_window_controller.h" | 25 #import "chrome/browser/cocoa/about_window_controller.h" |
| 26 #import "chrome/browser/cocoa/bookmarks/bookmark_menu_bridge.h" | 26 #import "chrome/browser/cocoa/bookmarks/bookmark_menu_bridge.h" |
| 27 #import "chrome/browser/cocoa/browser_window_cocoa.h" | 27 #import "chrome/browser/cocoa/browser_window_cocoa.h" |
| (...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 [appController showPreferencesWindow:nil page:page profile:profile]; | 1205 [appController showPreferencesWindow:nil page:page profile:profile]; |
| 1206 } | 1206 } |
| 1207 | 1207 |
| 1208 namespace app_controller_mac { | 1208 namespace app_controller_mac { |
| 1209 | 1209 |
| 1210 bool IsOpeningNewWindow() { | 1210 bool IsOpeningNewWindow() { |
| 1211 return g_is_opening_new_window; | 1211 return g_is_opening_new_window; |
| 1212 } | 1212 } |
| 1213 | 1213 |
| 1214 } // namespace app_controller_mac | 1214 } // namespace app_controller_mac |
| OLD | NEW |