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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 {"extensionOptionsAttributes", IDR_EXTENSION_OPTIONS_ATTRIBUTES_JS}, | 700 {"extensionOptionsAttributes", IDR_EXTENSION_OPTIONS_ATTRIBUTES_JS}, |
701 {"extensionOptionsConstants", IDR_EXTENSION_OPTIONS_CONSTANTS_JS}, | 701 {"extensionOptionsConstants", IDR_EXTENSION_OPTIONS_CONSTANTS_JS}, |
702 {"extensionOptionsEvents", IDR_EXTENSION_OPTIONS_EVENTS_JS}, | 702 {"extensionOptionsEvents", IDR_EXTENSION_OPTIONS_EVENTS_JS}, |
703 {"extensionView", IDR_EXTENSION_VIEW_JS}, | 703 {"extensionView", IDR_EXTENSION_VIEW_JS}, |
704 {"extensionViewApiMethods", IDR_EXTENSION_VIEW_API_METHODS_JS}, | 704 {"extensionViewApiMethods", IDR_EXTENSION_VIEW_API_METHODS_JS}, |
705 {"extensionViewAttributes", IDR_EXTENSION_VIEW_ATTRIBUTES_JS}, | 705 {"extensionViewAttributes", IDR_EXTENSION_VIEW_ATTRIBUTES_JS}, |
706 {"extensionViewConstants", IDR_EXTENSION_VIEW_CONSTANTS_JS}, | 706 {"extensionViewConstants", IDR_EXTENSION_VIEW_CONSTANTS_JS}, |
707 {"extensionViewEvents", IDR_EXTENSION_VIEW_EVENTS_JS}, | 707 {"extensionViewEvents", IDR_EXTENSION_VIEW_EVENTS_JS}, |
708 {"extensionViewInternal", IDR_EXTENSION_VIEW_INTERNAL_CUSTOM_BINDINGS_JS}, | 708 {"extensionViewInternal", IDR_EXTENSION_VIEW_INTERNAL_CUSTOM_BINDINGS_JS}, |
709 {"fileEntryBindingUtil", IDR_FILE_ENTRY_BINDING_UTIL_JS}, | 709 {"fileEntryBindingUtil", IDR_FILE_ENTRY_BINDING_UTIL_JS}, |
| 710 {"fileSystem", IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS}, |
710 {"guestView", IDR_GUEST_VIEW_JS}, | 711 {"guestView", IDR_GUEST_VIEW_JS}, |
711 {"guestViewAttributes", IDR_GUEST_VIEW_ATTRIBUTES_JS}, | 712 {"guestViewAttributes", IDR_GUEST_VIEW_ATTRIBUTES_JS}, |
712 {"guestViewContainer", IDR_GUEST_VIEW_CONTAINER_JS}, | 713 {"guestViewContainer", IDR_GUEST_VIEW_CONTAINER_JS}, |
713 {"guestViewDeny", IDR_GUEST_VIEW_DENY_JS}, | 714 {"guestViewDeny", IDR_GUEST_VIEW_DENY_JS}, |
714 {"guestViewEvents", IDR_GUEST_VIEW_EVENTS_JS}, | 715 {"guestViewEvents", IDR_GUEST_VIEW_EVENTS_JS}, |
715 {"imageUtil", IDR_IMAGE_UTIL_JS}, | 716 {"imageUtil", IDR_IMAGE_UTIL_JS}, |
716 {"json_schema", IDR_JSON_SCHEMA_JS}, | 717 {"json_schema", IDR_JSON_SCHEMA_JS}, |
717 {"messaging", IDR_MESSAGING_JS}, | 718 {"messaging", IDR_MESSAGING_JS}, |
718 {"messaging_utils", IDR_MESSAGING_UTILS_JS}, | 719 {"messaging_utils", IDR_MESSAGING_UTILS_JS}, |
719 {kSchemaUtils, IDR_SCHEMA_UTILS_JS}, | 720 {kSchemaUtils, IDR_SCHEMA_UTILS_JS}, |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 // The "guestViewDeny" module must always be loaded last. It registers | 1484 // The "guestViewDeny" module must always be loaded last. It registers |
1484 // error-providing custom elements for the GuestView types that are not | 1485 // error-providing custom elements for the GuestView types that are not |
1485 // available, and thus all of those types must have been checked and loaded | 1486 // available, and thus all of those types must have been checked and loaded |
1486 // (or not loaded) beforehand. | 1487 // (or not loaded) beforehand. |
1487 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { | 1488 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { |
1488 module_system->Require("guestViewDeny"); | 1489 module_system->Require("guestViewDeny"); |
1489 } | 1490 } |
1490 } | 1491 } |
1491 | 1492 |
1492 } // namespace extensions | 1493 } // namespace extensions |
OLD | NEW |