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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "extensions/renderer/worker_thread_dispatcher.h" | 101 #include "extensions/renderer/worker_thread_dispatcher.h" |
102 #include "gin/converter.h" | 102 #include "gin/converter.h" |
103 #include "mojo/public/js/constants.h" | 103 #include "mojo/public/js/constants.h" |
| 104 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
104 #include "third_party/WebKit/public/platform/WebString.h" | 105 #include "third_party/WebKit/public/platform/WebString.h" |
105 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 106 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
106 #include "third_party/WebKit/public/web/WebCustomElement.h" | 107 #include "third_party/WebKit/public/web/WebCustomElement.h" |
107 #include "third_party/WebKit/public/web/WebDataSource.h" | 108 #include "third_party/WebKit/public/web/WebDataSource.h" |
108 #include "third_party/WebKit/public/web/WebDocument.h" | 109 #include "third_party/WebKit/public/web/WebDocument.h" |
109 #include "third_party/WebKit/public/web/WebFrame.h" | 110 #include "third_party/WebKit/public/web/WebFrame.h" |
110 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 111 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
111 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
112 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" | 112 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" |
113 #include "third_party/WebKit/public/web/WebScriptController.h" | 113 #include "third_party/WebKit/public/web/WebScriptController.h" |
114 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 114 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
115 #include "third_party/WebKit/public/web/WebView.h" | 115 #include "third_party/WebKit/public/web/WebView.h" |
116 #include "ui/base/layout.h" | 116 #include "ui/base/layout.h" |
117 #include "ui/base/resource/resource_bundle.h" | 117 #include "ui/base/resource/resource_bundle.h" |
118 #include "v8/include/v8.h" | 118 #include "v8/include/v8.h" |
119 | 119 |
120 using blink::WebDataSource; | 120 using blink::WebDataSource; |
121 using blink::WebDocument; | 121 using blink::WebDocument; |
(...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1473 // The "guestViewDeny" module must always be loaded last. It registers | 1473 // The "guestViewDeny" module must always be loaded last. It registers |
1474 // error-providing custom elements for the GuestView types that are not | 1474 // error-providing custom elements for the GuestView types that are not |
1475 // available, and thus all of those types must have been checked and loaded | 1475 // available, and thus all of those types must have been checked and loaded |
1476 // (or not loaded) beforehand. | 1476 // (or not loaded) beforehand. |
1477 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { | 1477 if (context_type == Feature::BLESSED_EXTENSION_CONTEXT) { |
1478 module_system->Require("guestViewDeny"); | 1478 module_system->Require("guestViewDeny"); |
1479 } | 1479 } |
1480 } | 1480 } |
1481 | 1481 |
1482 } // namespace extensions | 1482 } // namespace extensions |
OLD | NEW |