| 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 "apps/app_shim/app_shim_mac.h" | 7 #include "apps/app_shim/app_shim_mac.h" |
| 8 #include "apps/app_shim/extension_app_shim_handler_mac.h" | 8 #include "apps/app_shim/extension_app_shim_handler_mac.h" |
| 9 #include "apps/app_window_registry.h" | 9 #include "apps/app_window_registry.h" |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 #include "components/signin/core/browser/signin_manager.h" | 79 #include "components/signin/core/browser/signin_manager.h" |
| 80 #include "content/public/browser/browser_thread.h" | 80 #include "content/public/browser/browser_thread.h" |
| 81 #include "content/public/browser/download_manager.h" | 81 #include "content/public/browser/download_manager.h" |
| 82 #include "content/public/browser/notification_service.h" | 82 #include "content/public/browser/notification_service.h" |
| 83 #include "content/public/browser/notification_types.h" | 83 #include "content/public/browser/notification_types.h" |
| 84 #include "content/public/browser/plugin_service.h" | 84 #include "content/public/browser/plugin_service.h" |
| 85 #include "content/public/browser/user_metrics.h" | 85 #include "content/public/browser/user_metrics.h" |
| 86 #include "extensions/browser/extension_system.h" | 86 #include "extensions/browser/extension_system.h" |
| 87 #include "grit/chromium_strings.h" | 87 #include "grit/chromium_strings.h" |
| 88 #include "grit/generated_resources.h" | 88 #include "grit/generated_resources.h" |
| 89 #include "net/base/filename_util.h" | 89 #include "net/base/net_util.h" |
| 90 #include "ui/base/cocoa/focus_window_set.h" | 90 #include "ui/base/cocoa/focus_window_set.h" |
| 91 #include "ui/base/l10n/l10n_util.h" | 91 #include "ui/base/l10n/l10n_util.h" |
| 92 #include "ui/base/l10n/l10n_util_mac.h" | 92 #include "ui/base/l10n/l10n_util_mac.h" |
| 93 | 93 |
| 94 using base::UserMetricsAction; | 94 using base::UserMetricsAction; |
| 95 using content::BrowserContext; | 95 using content::BrowserContext; |
| 96 using content::BrowserThread; | 96 using content::BrowserThread; |
| 97 using content::DownloadManager; | 97 using content::DownloadManager; |
| 98 | 98 |
| 99 namespace { | 99 namespace { |
| (...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1485 | 1485 |
| 1486 //--------------------------------------------------------------------------- | 1486 //--------------------------------------------------------------------------- |
| 1487 | 1487 |
| 1488 namespace app_controller_mac { | 1488 namespace app_controller_mac { |
| 1489 | 1489 |
| 1490 bool IsOpeningNewWindow() { | 1490 bool IsOpeningNewWindow() { |
| 1491 return g_is_opening_new_window; | 1491 return g_is_opening_new_window; |
| 1492 } | 1492 } |
| 1493 | 1493 |
| 1494 } // namespace app_controller_mac | 1494 } // namespace app_controller_mac |
| OLD | NEW |