| 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/renderer/dispatcher.h" | 5 #include "extensions/renderer/dispatcher.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 {"webViewApiMethods", IDR_WEB_VIEW_API_METHODS_JS}, | 697 {"webViewApiMethods", IDR_WEB_VIEW_API_METHODS_JS}, |
| 698 {"webViewAttributes", IDR_WEB_VIEW_ATTRIBUTES_JS}, | 698 {"webViewAttributes", IDR_WEB_VIEW_ATTRIBUTES_JS}, |
| 699 {"webViewConstants", IDR_WEB_VIEW_CONSTANTS_JS}, | 699 {"webViewConstants", IDR_WEB_VIEW_CONSTANTS_JS}, |
| 700 {"webViewEvents", IDR_WEB_VIEW_EVENTS_JS}, | 700 {"webViewEvents", IDR_WEB_VIEW_EVENTS_JS}, |
| 701 {"webViewInternal", IDR_WEB_VIEW_INTERNAL_CUSTOM_BINDINGS_JS}, | 701 {"webViewInternal", IDR_WEB_VIEW_INTERNAL_CUSTOM_BINDINGS_JS}, |
| 702 | 702 |
| 703 {mojo::kBindingsModuleName, IDR_MOJO_BINDINGS_JS}, | 703 {mojo::kBindingsModuleName, IDR_MOJO_BINDINGS_JS}, |
| 704 {mojo::kBufferModuleName, IDR_MOJO_BUFFER_JS}, | 704 {mojo::kBufferModuleName, IDR_MOJO_BUFFER_JS}, |
| 705 {mojo::kCodecModuleName, IDR_MOJO_CODEC_JS}, | 705 {mojo::kCodecModuleName, IDR_MOJO_CODEC_JS}, |
| 706 {mojo::kConnectorModuleName, IDR_MOJO_CONNECTOR_JS}, | 706 {mojo::kConnectorModuleName, IDR_MOJO_CONNECTOR_JS}, |
| 707 {mojo::kControlMessageHandlerModuleName, |
| 708 IDR_MOJO_CONTROL_MESSAGE_HANDLER_JS}, |
| 709 {mojo::kControlMessageProxyModuleName, IDR_MOJO_CONTROL_MESSAGE_PROXY_JS}, |
| 710 {mojo::kInterfaceControlMessagesMojom, |
| 711 IDR_MOJO_INTERFACE_CONTROL_MESSAGES_MOJOM_JS}, |
| 707 {mojo::kInterfaceTypesModuleName, IDR_MOJO_INTERFACE_TYPES_JS}, | 712 {mojo::kInterfaceTypesModuleName, IDR_MOJO_INTERFACE_TYPES_JS}, |
| 708 {mojo::kRouterModuleName, IDR_MOJO_ROUTER_JS}, | 713 {mojo::kRouterModuleName, IDR_MOJO_ROUTER_JS}, |
| 709 {mojo::kUnicodeModuleName, IDR_MOJO_UNICODE_JS}, | 714 {mojo::kUnicodeModuleName, IDR_MOJO_UNICODE_JS}, |
| 710 {mojo::kValidatorModuleName, IDR_MOJO_VALIDATOR_JS}, | 715 {mojo::kValidatorModuleName, IDR_MOJO_VALIDATOR_JS}, |
| 711 {"async_waiter", IDR_ASYNC_WAITER_JS}, | 716 {"async_waiter", IDR_ASYNC_WAITER_JS}, |
| 712 {"keep_alive", IDR_KEEP_ALIVE_JS}, | 717 {"keep_alive", IDR_KEEP_ALIVE_JS}, |
| 713 {"extensions/common/mojo/keep_alive.mojom", IDR_KEEP_ALIVE_MOJOM_JS}, | 718 {"extensions/common/mojo/keep_alive.mojom", IDR_KEEP_ALIVE_MOJOM_JS}, |
| 714 | 719 |
| 715 // Custom bindings. | 720 // Custom bindings. |
| 716 {"app.runtime", IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS}, | 721 {"app.runtime", IDR_APP_RUNTIME_CUSTOM_BINDINGS_JS}, |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1403 // The "guestViewDeny" module must always be loaded last. It registers | 1408 // The "guestViewDeny" module must always be loaded last. It registers |
| 1404 // error-providing custom elements for the GuestView types that are not | 1409 // error-providing custom elements for the GuestView types that are not |
| 1405 // available, and thus all of those types must have been checked and loaded | 1410 // available, and thus all of those types must have been checked and loaded |
| 1406 // (or not loaded) beforehand. | 1411 // (or not loaded) beforehand. |
| 1407 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { | 1412 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { |
| 1408 module_system->Require("guestViewDeny"); | 1413 module_system->Require("guestViewDeny"); |
| 1409 } | 1414 } |
| 1410 } | 1415 } |
| 1411 | 1416 |
| 1412 } // namespace extensions | 1417 } // namespace extensions |
| OLD | NEW |