| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "apps/app_shim/extension_app_shim_handler_mac.h" | 5 #include "apps/app_shim/extension_app_shim_handler_mac.h" |
| 6 | 6 |
| 7 #include "apps/app_lifetime_monitor_factory.h" | 7 #include "apps/app_lifetime_monitor_factory.h" |
| 8 #include "apps/app_shim/app_shim_messages.h" | 8 #include "apps/app_shim/app_shim_messages.h" |
| 9 #include "apps/shell_window.h" | 9 #include "apps/shell_window.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
| 13 #include "chrome/browser/chrome_notification_types.h" |
| 13 #include "chrome/browser/extensions/extension_host.h" | 14 #include "chrome/browser/extensions/extension_host.h" |
| 14 #include "chrome/browser/extensions/extension_service.h" | 15 #include "chrome/browser/extensions/extension_service.h" |
| 15 #include "chrome/browser/extensions/extension_system.h" | 16 #include "chrome/browser/extensions/extension_system.h" |
| 16 #include "chrome/browser/extensions/shell_window_registry.h" | 17 #include "chrome/browser/extensions/shell_window_registry.h" |
| 17 #include "chrome/browser/lifetime/application_lifetime.h" | 18 #include "chrome/browser/lifetime/application_lifetime.h" |
| 18 #include "chrome/browser/profiles/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
| 19 #include "chrome/browser/profiles/profile_manager.h" | 20 #include "chrome/browser/profiles/profile_manager.h" |
| 20 #include "chrome/browser/ui/extensions/application_launch.h" | 21 #include "chrome/browser/ui/extensions/application_launch.h" |
| 21 #include "chrome/browser/ui/extensions/native_app_window.h" | 22 #include "chrome/browser/ui/extensions/native_app_window.h" |
| 22 #include "chrome/browser/ui/web_applications/web_app_ui.h" | 23 #include "chrome/browser/ui/web_applications/web_app_ui.h" |
| 23 #include "chrome/browser/web_applications/web_app_mac.h" | 24 #include "chrome/browser/web_applications/web_app_mac.h" |
| 24 #include "chrome/common/chrome_notification_types.h" | |
| 25 #include "content/public/browser/notification_details.h" | 25 #include "content/public/browser/notification_details.h" |
| 26 #include "content/public/browser/notification_service.h" | 26 #include "content/public/browser/notification_service.h" |
| 27 #include "content/public/browser/notification_source.h" | 27 #include "content/public/browser/notification_source.h" |
| 28 #include "ui/base/cocoa/focus_window_set.h" | 28 #include "ui/base/cocoa/focus_window_set.h" |
| 29 | 29 |
| 30 namespace { | 30 namespace { |
| 31 | 31 |
| 32 void ProfileLoadedCallback(base::Callback<void(Profile*)> callback, | 32 void ProfileLoadedCallback(base::Callback<void(Profile*)> callback, |
| 33 Profile* profile, | 33 Profile* profile, |
| 34 Profile::CreateStatus status) { | 34 Profile::CreateStatus status) { |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 | 355 |
| 356 void ExtensionAppShimHandler::OnAppDeactivated(Profile* profile, | 356 void ExtensionAppShimHandler::OnAppDeactivated(Profile* profile, |
| 357 const std::string& app_id) {} | 357 const std::string& app_id) {} |
| 358 | 358 |
| 359 void ExtensionAppShimHandler::OnAppStop(Profile* profile, | 359 void ExtensionAppShimHandler::OnAppStop(Profile* profile, |
| 360 const std::string& app_id) {} | 360 const std::string& app_id) {} |
| 361 | 361 |
| 362 void ExtensionAppShimHandler::OnChromeTerminating() {} | 362 void ExtensionAppShimHandler::OnChromeTerminating() {} |
| 363 | 363 |
| 364 } // namespace apps | 364 } // namespace apps |
| OLD | NEW |