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/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 #include "components/handoff/handoff_manager.h" | 85 #include "components/handoff/handoff_manager.h" |
86 #include "components/handoff/handoff_utility.h" | 86 #include "components/handoff/handoff_utility.h" |
87 #include "components/signin/core/browser/signin_manager.h" | 87 #include "components/signin/core/browser/signin_manager.h" |
88 #include "components/signin/core/common/profile_management_switches.h" | 88 #include "components/signin/core/common/profile_management_switches.h" |
89 #include "content/public/browser/browser_thread.h" | 89 #include "content/public/browser/browser_thread.h" |
90 #include "content/public/browser/download_manager.h" | 90 #include "content/public/browser/download_manager.h" |
91 #include "content/public/browser/notification_service.h" | 91 #include "content/public/browser/notification_service.h" |
92 #include "content/public/browser/notification_types.h" | 92 #include "content/public/browser/notification_types.h" |
93 #include "content/public/browser/plugin_service.h" | 93 #include "content/public/browser/plugin_service.h" |
94 #include "content/public/browser/user_metrics.h" | 94 #include "content/public/browser/user_metrics.h" |
| 95 #include "extensions/browser/extension_registry.h" |
95 #include "extensions/browser/extension_system.h" | 96 #include "extensions/browser/extension_system.h" |
96 #include "extensions/browser/extension_registry.h" | |
97 #include "net/base/filename_util.h" | 97 #include "net/base/filename_util.h" |
98 #include "ui/base/cocoa/focus_window_set.h" | 98 #include "ui/base/cocoa/focus_window_set.h" |
99 #include "ui/base/l10n/l10n_util.h" | 99 #include "ui/base/l10n/l10n_util.h" |
100 #include "ui/base/l10n/l10n_util_mac.h" | 100 #include "ui/base/l10n/l10n_util_mac.h" |
101 | 101 |
102 using apps::AppShimHandler; | 102 using apps::AppShimHandler; |
103 using apps::ExtensionAppShimHandler; | 103 using apps::ExtensionAppShimHandler; |
104 using base::UserMetricsAction; | 104 using base::UserMetricsAction; |
105 using content::BrowserContext; | 105 using content::BrowserContext; |
106 using content::BrowserThread; | 106 using content::BrowserThread; |
(...skipping 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1704 | 1704 |
1705 //--------------------------------------------------------------------------- | 1705 //--------------------------------------------------------------------------- |
1706 | 1706 |
1707 namespace app_controller_mac { | 1707 namespace app_controller_mac { |
1708 | 1708 |
1709 bool IsOpeningNewWindow() { | 1709 bool IsOpeningNewWindow() { |
1710 return g_is_opening_new_window; | 1710 return g_is_opening_new_window; |
1711 } | 1711 } |
1712 | 1712 |
1713 } // namespace app_controller_mac | 1713 } // namespace app_controller_mac |
OLD | NEW |