| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/renderer/render_frame_impl.h" | 5 #include "content/renderer/render_frame_impl.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" | 141 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" |
| 142 #include "third_party/WebKit/public/web/WebScriptSource.h" | 142 #include "third_party/WebKit/public/web/WebScriptSource.h" |
| 143 #include "third_party/WebKit/public/web/WebSearchableFormData.h" | 143 #include "third_party/WebKit/public/web/WebSearchableFormData.h" |
| 144 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" | 144 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
| 145 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 145 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
| 146 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" | 146 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" |
| 147 #include "third_party/WebKit/public/web/WebSettings.h" | 147 #include "third_party/WebKit/public/web/WebSettings.h" |
| 148 #include "third_party/WebKit/public/web/WebSurroundingText.h" | 148 #include "third_party/WebKit/public/web/WebSurroundingText.h" |
| 149 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 149 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
| 150 #include "third_party/WebKit/public/web/WebView.h" | 150 #include "third_party/WebKit/public/web/WebView.h" |
| 151 #include "third_party/mojo/src/mojo/edk/js/core.h" | |
| 152 #include "third_party/mojo/src/mojo/edk/js/support.h" | |
| 153 #include "url/url_util.h" | 151 #include "url/url_util.h" |
| 154 | 152 |
| 155 #if defined(ENABLE_PLUGINS) | 153 #if defined(ENABLE_PLUGINS) |
| 156 #include "content/renderer/npapi/webplugin_impl.h" | 154 #include "content/renderer/npapi/webplugin_impl.h" |
| 157 #include "content/renderer/pepper/pepper_browser_connection.h" | 155 #include "content/renderer/pepper/pepper_browser_connection.h" |
| 158 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 156 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
| 159 #include "content/renderer/pepper/pepper_webplugin_impl.h" | 157 #include "content/renderer/pepper/pepper_webplugin_impl.h" |
| 160 #include "content/renderer/pepper/plugin_module.h" | 158 #include "content/renderer/pepper/plugin_module.h" |
| 161 #endif | 159 #endif |
| 162 | 160 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 192 #include "mojo/application/public/interfaces/shell.mojom.h" | 190 #include "mojo/application/public/interfaces/shell.mojom.h" |
| 193 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" | 191 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h" |
| 194 #else | 192 #else |
| 195 #include "media/renderers/default_renderer_factory.h" | 193 #include "media/renderers/default_renderer_factory.h" |
| 196 #endif | 194 #endif |
| 197 | 195 |
| 198 #if defined(ENABLE_WEBVR) | 196 #if defined(ENABLE_WEBVR) |
| 199 #include "content/renderer/vr/vr_dispatcher.h" | 197 #include "content/renderer/vr/vr_dispatcher.h" |
| 200 #endif | 198 #endif |
| 201 | 199 |
| 200 #if defined(USE_CHROME_EDK) |
| 201 #include "mojo/edk/js/core.h" |
| 202 #include "mojo/edk/js/support.h" |
| 203 #else |
| 204 #include "third_party/mojo/src/mojo/edk/js/core.h" |
| 205 #include "third_party/mojo/src/mojo/edk/js/support.h" |
| 206 #endif |
| 207 |
| 202 using blink::WebContentDecryptionModule; | 208 using blink::WebContentDecryptionModule; |
| 203 using blink::WebContextMenuData; | 209 using blink::WebContextMenuData; |
| 204 using blink::WebData; | 210 using blink::WebData; |
| 205 using blink::WebDataSource; | 211 using blink::WebDataSource; |
| 206 using blink::WebDocument; | 212 using blink::WebDocument; |
| 207 using blink::WebDOMEvent; | 213 using blink::WebDOMEvent; |
| 208 using blink::WebDOMMessageEvent; | 214 using blink::WebDOMMessageEvent; |
| 209 using blink::WebElement; | 215 using blink::WebElement; |
| 210 using blink::WebExternalPopupMenu; | 216 using blink::WebExternalPopupMenu; |
| 211 using blink::WebExternalPopupMenuClient; | 217 using blink::WebExternalPopupMenuClient; |
| (...skipping 4855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5067 mojo::ServiceProviderPtr service_provider; | 5073 mojo::ServiceProviderPtr service_provider; |
| 5068 mojo::URLRequestPtr request(mojo::URLRequest::New()); | 5074 mojo::URLRequestPtr request(mojo::URLRequest::New()); |
| 5069 request->url = mojo::String::From(url); | 5075 request->url = mojo::String::From(url); |
| 5070 mojo_shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider), | 5076 mojo_shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider), |
| 5071 nullptr, nullptr, | 5077 nullptr, nullptr, |
| 5072 base::Bind(&OnGotContentHandlerID)); | 5078 base::Bind(&OnGotContentHandlerID)); |
| 5073 return service_provider.Pass(); | 5079 return service_provider.Pass(); |
| 5074 } | 5080 } |
| 5075 | 5081 |
| 5076 } // namespace content | 5082 } // namespace content |
| OLD | NEW |