| 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 <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 #include "extensions/renderer/test_features_native_handler.h" | 93 #include "extensions/renderer/test_features_native_handler.h" |
| 94 #include "extensions/renderer/test_native_handler.h" | 94 #include "extensions/renderer/test_native_handler.h" |
| 95 #include "extensions/renderer/user_gestures_native_handler.h" | 95 #include "extensions/renderer/user_gestures_native_handler.h" |
| 96 #include "extensions/renderer/utils_native_handler.h" | 96 #include "extensions/renderer/utils_native_handler.h" |
| 97 #include "extensions/renderer/v8_context_native_handler.h" | 97 #include "extensions/renderer/v8_context_native_handler.h" |
| 98 #include "extensions/renderer/v8_helpers.h" | 98 #include "extensions/renderer/v8_helpers.h" |
| 99 #include "extensions/renderer/wake_event_page.h" | 99 #include "extensions/renderer/wake_event_page.h" |
| 100 #include "extensions/renderer/worker_script_context_set.h" | 100 #include "extensions/renderer/worker_script_context_set.h" |
| 101 #include "grit/extensions_renderer_resources.h" | 101 #include "grit/extensions_renderer_resources.h" |
| 102 #include "mojo/public/js/constants.h" | 102 #include "mojo/public/js/constants.h" |
| 103 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
| 103 #include "third_party/WebKit/public/platform/WebString.h" | 104 #include "third_party/WebKit/public/platform/WebString.h" |
| 104 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 105 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 105 #include "third_party/WebKit/public/web/WebCustomElement.h" | 106 #include "third_party/WebKit/public/web/WebCustomElement.h" |
| 106 #include "third_party/WebKit/public/web/WebDataSource.h" | 107 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 107 #include "third_party/WebKit/public/web/WebDocument.h" | 108 #include "third_party/WebKit/public/web/WebDocument.h" |
| 108 #include "third_party/WebKit/public/web/WebFrame.h" | 109 #include "third_party/WebKit/public/web/WebFrame.h" |
| 109 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 110 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 110 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
| 111 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" | 111 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" |
| 112 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 112 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
| 113 #include "third_party/WebKit/public/web/WebView.h" | 113 #include "third_party/WebKit/public/web/WebView.h" |
| 114 #include "ui/base/layout.h" | 114 #include "ui/base/layout.h" |
| 115 #include "ui/base/resource/resource_bundle.h" | 115 #include "ui/base/resource/resource_bundle.h" |
| 116 #include "v8/include/v8.h" | 116 #include "v8/include/v8.h" |
| 117 | 117 |
| 118 using base::UserMetricsAction; | 118 using base::UserMetricsAction; |
| 119 using blink::WebDataSource; | 119 using blink::WebDataSource; |
| 120 using blink::WebDocument; | 120 using blink::WebDocument; |
| (...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1612 // The "guestViewDeny" module must always be loaded last. It registers | 1612 // The "guestViewDeny" module must always be loaded last. It registers |
| 1613 // error-providing custom elements for the GuestView types that are not | 1613 // error-providing custom elements for the GuestView types that are not |
| 1614 // available, and thus all of those types must have been checked and loaded | 1614 // available, and thus all of those types must have been checked and loaded |
| 1615 // (or not loaded) beforehand. | 1615 // (or not loaded) beforehand. |
| 1616 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { | 1616 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { |
| 1617 module_system->Require("guestViewDeny"); | 1617 module_system->Require("guestViewDeny"); |
| 1618 } | 1618 } |
| 1619 } | 1619 } |
| 1620 | 1620 |
| 1621 } // namespace extensions | 1621 } // namespace extensions |
| OLD | NEW |