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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 {"extensionOptionsAttributes", IDR_EXTENSION_OPTIONS_ATTRIBUTES_JS}, | 712 {"extensionOptionsAttributes", IDR_EXTENSION_OPTIONS_ATTRIBUTES_JS}, |
713 {"extensionOptionsConstants", IDR_EXTENSION_OPTIONS_CONSTANTS_JS}, | 713 {"extensionOptionsConstants", IDR_EXTENSION_OPTIONS_CONSTANTS_JS}, |
714 {"extensionOptionsEvents", IDR_EXTENSION_OPTIONS_EVENTS_JS}, | 714 {"extensionOptionsEvents", IDR_EXTENSION_OPTIONS_EVENTS_JS}, |
715 {"extensionView", IDR_EXTENSION_VIEW_JS}, | 715 {"extensionView", IDR_EXTENSION_VIEW_JS}, |
716 {"extensionViewApiMethods", IDR_EXTENSION_VIEW_API_METHODS_JS}, | 716 {"extensionViewApiMethods", IDR_EXTENSION_VIEW_API_METHODS_JS}, |
717 {"extensionViewAttributes", IDR_EXTENSION_VIEW_ATTRIBUTES_JS}, | 717 {"extensionViewAttributes", IDR_EXTENSION_VIEW_ATTRIBUTES_JS}, |
718 {"extensionViewConstants", IDR_EXTENSION_VIEW_CONSTANTS_JS}, | 718 {"extensionViewConstants", IDR_EXTENSION_VIEW_CONSTANTS_JS}, |
719 {"extensionViewEvents", IDR_EXTENSION_VIEW_EVENTS_JS}, | 719 {"extensionViewEvents", IDR_EXTENSION_VIEW_EVENTS_JS}, |
720 {"extensionViewInternal", IDR_EXTENSION_VIEW_INTERNAL_CUSTOM_BINDINGS_JS}, | 720 {"extensionViewInternal", IDR_EXTENSION_VIEW_INTERNAL_CUSTOM_BINDINGS_JS}, |
721 {"fileEntryBindingUtil", IDR_FILE_ENTRY_BINDING_UTIL_JS}, | 721 {"fileEntryBindingUtil", IDR_FILE_ENTRY_BINDING_UTIL_JS}, |
| 722 {"fileSystem", IDR_FILE_SYSTEM_CUSTOM_BINDINGS_JS}, |
722 {"guestView", IDR_GUEST_VIEW_JS}, | 723 {"guestView", IDR_GUEST_VIEW_JS}, |
723 {"guestViewAttributes", IDR_GUEST_VIEW_ATTRIBUTES_JS}, | 724 {"guestViewAttributes", IDR_GUEST_VIEW_ATTRIBUTES_JS}, |
724 {"guestViewContainer", IDR_GUEST_VIEW_CONTAINER_JS}, | 725 {"guestViewContainer", IDR_GUEST_VIEW_CONTAINER_JS}, |
725 {"guestViewDeny", IDR_GUEST_VIEW_DENY_JS}, | 726 {"guestViewDeny", IDR_GUEST_VIEW_DENY_JS}, |
726 {"guestViewEvents", IDR_GUEST_VIEW_EVENTS_JS}, | 727 {"guestViewEvents", IDR_GUEST_VIEW_EVENTS_JS}, |
727 {"imageUtil", IDR_IMAGE_UTIL_JS}, | 728 {"imageUtil", IDR_IMAGE_UTIL_JS}, |
728 {"json_schema", IDR_JSON_SCHEMA_JS}, | 729 {"json_schema", IDR_JSON_SCHEMA_JS}, |
729 {"lastError", IDR_LAST_ERROR_JS}, | 730 {"lastError", IDR_LAST_ERROR_JS}, |
730 {"messaging", IDR_MESSAGING_JS}, | 731 {"messaging", IDR_MESSAGING_JS}, |
731 {"messaging_utils", IDR_MESSAGING_UTILS_JS}, | 732 {"messaging_utils", IDR_MESSAGING_UTILS_JS}, |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 // The "guestViewDeny" module must always be loaded last. It registers | 1492 // The "guestViewDeny" module must always be loaded last. It registers |
1492 // error-providing custom elements for the GuestView types that are not | 1493 // error-providing custom elements for the GuestView types that are not |
1493 // available, and thus all of those types must have been checked and loaded | 1494 // available, and thus all of those types must have been checked and loaded |
1494 // (or not loaded) beforehand. | 1495 // (or not loaded) beforehand. |
1495 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { | 1496 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { |
1496 module_system->Require("guestViewDeny"); | 1497 module_system->Require("guestViewDeny"); |
1497 } | 1498 } |
1498 } | 1499 } |
1499 | 1500 |
1500 } // namespace extensions | 1501 } // namespace extensions |
OLD | NEW |