| 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/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "chrome/browser/ui/cocoa/task_manager_mac.h" | 54 #include "chrome/browser/ui/cocoa/task_manager_mac.h" |
| 55 #include "chrome/browser/ui/panels/panel_manager.h" | 55 #include "chrome/browser/ui/panels/panel_manager.h" |
| 56 #include "chrome/common/chrome_notification_types.h" | 56 #include "chrome/common/chrome_notification_types.h" |
| 57 #include "chrome/common/chrome_paths_internal.h" | 57 #include "chrome/common/chrome_paths_internal.h" |
| 58 #include "chrome/common/chrome_switches.h" | 58 #include "chrome/common/chrome_switches.h" |
| 59 #include "chrome/common/cloud_print/cloud_print_class_mac.h" | 59 #include "chrome/common/cloud_print/cloud_print_class_mac.h" |
| 60 #include "chrome/common/mac/app_mode_common.h" | 60 #include "chrome/common/mac/app_mode_common.h" |
| 61 #include "chrome/common/pref_names.h" | 61 #include "chrome/common/pref_names.h" |
| 62 #include "chrome/common/service_messages.h" | 62 #include "chrome/common/service_messages.h" |
| 63 #include "chrome/common/url_constants.h" | 63 #include "chrome/common/url_constants.h" |
| 64 #include "content/browser/tab_contents/tab_contents.h" | |
| 65 #include "content/public/browser/browser_thread.h" | 64 #include "content/public/browser/browser_thread.h" |
| 66 #include "content/public/browser/download_manager.h" | 65 #include "content/public/browser/download_manager.h" |
| 67 #include "content/public/browser/notification_service.h" | 66 #include "content/public/browser/notification_service.h" |
| 68 #include "content/public/browser/notification_types.h" | 67 #include "content/public/browser/notification_types.h" |
| 69 #include "content/public/browser/user_metrics.h" | 68 #include "content/public/browser/user_metrics.h" |
| 70 #include "grit/chromium_strings.h" | 69 #include "grit/chromium_strings.h" |
| 71 #include "grit/generated_resources.h" | 70 #include "grit/generated_resources.h" |
| 72 #include "net/base/net_util.h" | 71 #include "net/base/net_util.h" |
| 73 #include "ui/base/accelerators/accelerator_cocoa.h" | 72 #include "ui/base/accelerators/accelerator_cocoa.h" |
| 74 #include "ui/base/l10n/l10n_util.h" | 73 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1304 | 1303 |
| 1305 } // namespace browser | 1304 } // namespace browser |
| 1306 | 1305 |
| 1307 namespace app_controller_mac { | 1306 namespace app_controller_mac { |
| 1308 | 1307 |
| 1309 bool IsOpeningNewWindow() { | 1308 bool IsOpeningNewWindow() { |
| 1310 return g_is_opening_new_window; | 1309 return g_is_opening_new_window; |
| 1311 } | 1310 } |
| 1312 | 1311 |
| 1313 } // namespace app_controller_mac | 1312 } // namespace app_controller_mac |
| OLD | NEW |