| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/browser/guest_view/app_view/app_view_guest.h" | 5 #include "extensions/browser/guest_view/app_view/app_view_guest.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "components/guest_view/browser/guest_view_manager.h" | 8 #include "components/guest_view/browser/guest_view_manager.h" |
| 9 #include "content/public/browser/render_process_host.h" | 9 #include "content/public/browser/render_process_host.h" |
| 10 #include "content/public/common/renderer_preferences.h" | 10 #include "content/public/common/renderer_preferences.h" |
| 11 #include "extensions/browser/api/app_runtime/app_runtime_api.h" | 11 #include "extensions/browser/api/app_runtime/app_runtime_api.h" |
| 12 #include "extensions/browser/api/extensions_api_client.h" | 12 #include "extensions/browser/api/extensions_api_client.h" |
| 13 #include "extensions/browser/app_window/app_delegate.h" | 13 #include "extensions/browser/app_window/app_delegate.h" |
| 14 #include "extensions/browser/bad_message.h" | 14 #include "extensions/browser/bad_message.h" |
| 15 #include "extensions/browser/event_router.h" | 15 #include "extensions/browser/event_router.h" |
| 16 #include "extensions/browser/extension_host.h" | 16 #include "extensions/browser/extension_host.h" |
| 17 #include "extensions/browser/extension_registry.h" | 17 #include "extensions/browser/extension_registry.h" |
| 18 #include "extensions/browser/guest_view/app_view/app_view_constants.h" | 18 #include "extensions/browser/guest_view/app_view/app_view_constants.h" |
| 19 #include "extensions/browser/lazy_background_task_queue.h" | 19 #include "extensions/browser/lazy_background_task_queue.h" |
| 20 #include "extensions/browser/process_manager.h" | 20 #include "extensions/browser/process_manager.h" |
| 21 #include "extensions/browser/view_type_utils.h" | 21 #include "extensions/browser/view_type_utils.h" |
| 22 #include "extensions/common/api/app_runtime.h" | 22 #include "extensions/common/api/app_runtime.h" |
| 23 #include "extensions/common/extension_messages.h" | 23 #include "extensions/common/extension_messages.h" |
| 24 #include "extensions/strings/grit/extensions_strings.h" | 24 #include "extensions/strings/grit/extensions_strings.h" |
| 25 #include "ipc/ipc_message_macros.h" | 25 #include "ipc/ipc_message_macros.h" |
| 26 | 26 |
| 27 namespace app_runtime = extensions::core_api::app_runtime; | 27 namespace app_runtime = extensions::api::app_runtime; |
| 28 | 28 |
| 29 using content::RenderFrameHost; | 29 using content::RenderFrameHost; |
| 30 using content::WebContents; | 30 using content::WebContents; |
| 31 using extensions::ExtensionHost; | 31 using extensions::ExtensionHost; |
| 32 using guest_view::GuestViewBase; | 32 using guest_view::GuestViewBase; |
| 33 | 33 |
| 34 namespace extensions { | 34 namespace extensions { |
| 35 | 35 |
| 36 namespace { | 36 namespace { |
| 37 | 37 |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 | 280 |
| 281 std::vector<int> AppViewGuest::GetAllRegisteredInstanceIdsForTesting() { | 281 std::vector<int> AppViewGuest::GetAllRegisteredInstanceIdsForTesting() { |
| 282 std::vector<int> instances; | 282 std::vector<int> instances; |
| 283 for (const auto& key_value : pending_response_map.Get()) { | 283 for (const auto& key_value : pending_response_map.Get()) { |
| 284 instances.push_back(key_value.first); | 284 instances.push_back(key_value.first); |
| 285 } | 285 } |
| 286 return instances; | 286 return instances; |
| 287 } | 287 } |
| 288 | 288 |
| 289 } // namespace extensions | 289 } // namespace extensions |
| OLD | NEW |