Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: chrome/browser/app_controller_mac.mm

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/shell_window_registry.h" 9 #include "apps/shell_window_registry.h"
10 #include "base/auto_reset.h" 10 #include "base/auto_reset.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/app/chrome_command_ids.h" 21 #include "chrome/app/chrome_command_ids.h"
22 #include "chrome/browser/background/background_application_list_model.h" 22 #include "chrome/browser/background/background_application_list_model.h"
23 #include "chrome/browser/background/background_mode_manager.h" 23 #include "chrome/browser/background/background_mode_manager.h"
24 #include "chrome/browser/browser_process.h" 24 #include "chrome/browser/browser_process.h"
25 #include "chrome/browser/browser_shutdown.h" 25 #include "chrome/browser/browser_shutdown.h"
26 #include "chrome/browser/chrome_notification_types.h" 26 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/command_updater.h" 27 #include "chrome/browser/command_updater.h"
28 #include "chrome/browser/download/download_service.h" 28 #include "chrome/browser/download/download_service.h"
29 #include "chrome/browser/download/download_service_factory.h" 29 #include "chrome/browser/download/download_service_factory.h"
30 #include "chrome/browser/extensions/extension_service.h" 30 #include "chrome/browser/extensions/extension_service.h"
31 #include "chrome/browser/extensions/extension_system.h"
32 #include "chrome/browser/first_run/first_run.h" 31 #include "chrome/browser/first_run/first_run.h"
33 #include "chrome/browser/lifetime/application_lifetime.h" 32 #include "chrome/browser/lifetime/application_lifetime.h"
34 #include "chrome/browser/printing/print_dialog_cloud.h" 33 #include "chrome/browser/printing/print_dialog_cloud.h"
35 #include "chrome/browser/profiles/profile_info_cache_observer.h" 34 #include "chrome/browser/profiles/profile_info_cache_observer.h"
36 #include "chrome/browser/profiles/profile_manager.h" 35 #include "chrome/browser/profiles/profile_manager.h"
37 #include "chrome/browser/profiles/profiles_state.h" 36 #include "chrome/browser/profiles/profiles_state.h"
38 #include "chrome/browser/service_process/service_process_control.h" 37 #include "chrome/browser/service_process/service_process_control.h"
39 #include "chrome/browser/sessions/session_restore.h" 38 #include "chrome/browser/sessions/session_restore.h"
40 #include "chrome/browser/sessions/session_service.h" 39 #include "chrome/browser/sessions/session_service.h"
41 #include "chrome/browser/sessions/session_service_factory.h" 40 #include "chrome/browser/sessions/session_service_factory.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 #include "chrome/common/mac/app_mode_common.h" 77 #include "chrome/common/mac/app_mode_common.h"
79 #include "chrome/common/pref_names.h" 78 #include "chrome/common/pref_names.h"
80 #include "chrome/common/service_messages.h" 79 #include "chrome/common/service_messages.h"
81 #include "chrome/common/url_constants.h" 80 #include "chrome/common/url_constants.h"
82 #include "content/public/browser/browser_thread.h" 81 #include "content/public/browser/browser_thread.h"
83 #include "content/public/browser/download_manager.h" 82 #include "content/public/browser/download_manager.h"
84 #include "content/public/browser/notification_service.h" 83 #include "content/public/browser/notification_service.h"
85 #include "content/public/browser/notification_types.h" 84 #include "content/public/browser/notification_types.h"
86 #include "content/public/browser/plugin_service.h" 85 #include "content/public/browser/plugin_service.h"
87 #include "content/public/browser/user_metrics.h" 86 #include "content/public/browser/user_metrics.h"
87 #include "extensions/browser/extension_system.h"
88 #include "grit/chromium_strings.h" 88 #include "grit/chromium_strings.h"
89 #include "grit/generated_resources.h" 89 #include "grit/generated_resources.h"
90 #include "net/base/net_util.h" 90 #include "net/base/net_util.h"
91 #include "ui/base/cocoa/focus_window_set.h" 91 #include "ui/base/cocoa/focus_window_set.h"
92 #include "ui/base/l10n/l10n_util.h" 92 #include "ui/base/l10n/l10n_util.h"
93 #include "ui/base/l10n/l10n_util_mac.h" 93 #include "ui/base/l10n/l10n_util_mac.h"
94 94
95 using base::UserMetricsAction; 95 using base::UserMetricsAction;
96 using content::BrowserContext; 96 using content::BrowserContext;
97 using content::BrowserThread; 97 using content::BrowserThread;
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 1489
1490 //--------------------------------------------------------------------------- 1490 //---------------------------------------------------------------------------
1491 1491
1492 namespace app_controller_mac { 1492 namespace app_controller_mac {
1493 1493
1494 bool IsOpeningNewWindow() { 1494 bool IsOpeningNewWindow() {
1495 return g_is_opening_new_window; 1495 return g_is_opening_new_window;
1496 } 1496 }
1497 1497
1498 } // namespace app_controller_mac 1498 } // namespace app_controller_mac
OLDNEW
« no previous file with comments | « chrome/browser/accessibility/accessibility_extension_api.cc ('k') | chrome/browser/apps/app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698