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_host_manager_mac.h" | 8 #include "apps/app_shim/app_shim_host_manager_mac.h" |
9 #include "apps/app_shim/app_shim_messages.h" | 9 #include "apps/app_shim/app_shim_messages.h" |
10 #include "apps/app_window.h" | 10 #include "apps/app_window.h" |
11 #include "apps/app_window_registry.h" | 11 #include "apps/app_window_registry.h" |
12 #include "apps/launcher.h" | 12 #include "apps/launcher.h" |
13 #include "apps/ui/native_app_window.h" | |
14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
15 #include "base/logging.h" | 14 #include "base/logging.h" |
16 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
17 #include "chrome/browser/chrome_notification_types.h" | 16 #include "chrome/browser/chrome_notification_types.h" |
18 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/profiles/profile_manager.h" | 18 #include "chrome/browser/profiles/profile_manager.h" |
20 #include "chrome/browser/ui/extensions/extension_enable_flow.h" | 19 #include "chrome/browser/ui/extensions/extension_enable_flow.h" |
21 #include "chrome/browser/ui/extensions/extension_enable_flow_delegate.h" | 20 #include "chrome/browser/ui/extensions/extension_enable_flow_delegate.h" |
22 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" | 21 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" |
23 #include "chrome/browser/web_applications/web_app_mac.h" | 22 #include "chrome/browser/web_applications/web_app_mac.h" |
24 #include "chrome/common/extensions/extension_constants.h" | 23 #include "chrome/common/extensions/extension_constants.h" |
25 #include "content/public/browser/notification_details.h" | 24 #include "content/public/browser/notification_details.h" |
26 #include "content/public/browser/notification_service.h" | 25 #include "content/public/browser/notification_service.h" |
27 #include "content/public/browser/notification_source.h" | 26 #include "content/public/browser/notification_source.h" |
| 27 #include "extensions/browser/app_window/native_app_window.h" |
28 #include "extensions/browser/extension_host.h" | 28 #include "extensions/browser/extension_host.h" |
29 #include "extensions/browser/extension_registry.h" | 29 #include "extensions/browser/extension_registry.h" |
30 #include "ui/base/cocoa/focus_window_set.h" | 30 #include "ui/base/cocoa/focus_window_set.h" |
31 | 31 |
32 using extensions::ExtensionRegistry; | 32 using extensions::ExtensionRegistry; |
33 | 33 |
34 namespace { | 34 namespace { |
35 | 35 |
36 typedef apps::AppWindowRegistry::AppWindowList AppWindowList; | 36 typedef apps::AppWindowRegistry::AppWindowList AppWindowList; |
37 | 37 |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 if (hosts_.empty()) | 535 if (hosts_.empty()) |
536 delegate_->MaybeTerminate(); | 536 delegate_->MaybeTerminate(); |
537 } | 537 } |
538 | 538 |
539 void ExtensionAppShimHandler::OnAppStop(Profile* profile, | 539 void ExtensionAppShimHandler::OnAppStop(Profile* profile, |
540 const std::string& app_id) {} | 540 const std::string& app_id) {} |
541 | 541 |
542 void ExtensionAppShimHandler::OnChromeTerminating() {} | 542 void ExtensionAppShimHandler::OnChromeTerminating() {} |
543 | 543 |
544 } // namespace apps | 544 } // namespace apps |
OLD | NEW |