| 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/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "content/renderer/browser_plugin/browser_plugin.h" | 28 #include "content/renderer/browser_plugin/browser_plugin.h" |
| 29 #include "content/renderer/browser_plugin/browser_plugin_manager.h" | 29 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
| 30 #include "content/renderer/internal_document_state_data.h" | 30 #include "content/renderer/internal_document_state_data.h" |
| 31 #include "content/renderer/npapi/plugin_channel_host.h" | 31 #include "content/renderer/npapi/plugin_channel_host.h" |
| 32 #include "content/renderer/render_thread_impl.h" | 32 #include "content/renderer/render_thread_impl.h" |
| 33 #include "content/renderer/render_view_impl.h" | 33 #include "content/renderer/render_view_impl.h" |
| 34 #include "content/renderer/renderer_webapplicationcachehost_impl.h" | 34 #include "content/renderer/renderer_webapplicationcachehost_impl.h" |
| 35 #include "content/renderer/websharedworker_proxy.h" | 35 #include "content/renderer/websharedworker_proxy.h" |
| 36 #include "net/base/net_errors.h" | 36 #include "net/base/net_errors.h" |
| 37 #include "net/http/http_util.h" | 37 #include "net/http/http_util.h" |
| 38 #include "third_party/WebKit/public/platform/WebStorageQuotaCallbacks.h" |
| 38 #include "third_party/WebKit/public/platform/WebString.h" | 39 #include "third_party/WebKit/public/platform/WebString.h" |
| 39 #include "third_party/WebKit/public/platform/WebURL.h" | 40 #include "third_party/WebKit/public/platform/WebURL.h" |
| 40 #include "third_party/WebKit/public/platform/WebURLError.h" | 41 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 41 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 42 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 42 #include "third_party/WebKit/public/platform/WebVector.h" | 43 #include "third_party/WebKit/public/platform/WebVector.h" |
| 43 #include "third_party/WebKit/public/web/WebDocument.h" | 44 #include "third_party/WebKit/public/web/WebDocument.h" |
| 44 #include "third_party/WebKit/public/web/WebFrame.h" | 45 #include "third_party/WebKit/public/web/WebFrame.h" |
| 45 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" | 46 #include "third_party/WebKit/public/web/WebNavigationPolicy.h" |
| 46 #include "third_party/WebKit/public/web/WebPlugin.h" | 47 #include "third_party/WebKit/public/web/WebPlugin.h" |
| 47 #include "third_party/WebKit/public/web/WebPluginParams.h" | 48 #include "third_party/WebKit/public/web/WebPluginParams.h" |
| 48 #include "third_party/WebKit/public/web/WebSearchableFormData.h" | 49 #include "third_party/WebKit/public/web/WebSearchableFormData.h" |
| 49 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" | 50 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" |
| 50 #include "third_party/WebKit/public/web/WebStorageQuotaCallbacks.h" | |
| 51 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 51 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
| 52 #include "third_party/WebKit/public/web/WebView.h" | 52 #include "third_party/WebKit/public/web/WebView.h" |
| 53 #include "webkit/child/weburlresponse_extradata_impl.h" | 53 #include "webkit/child/weburlresponse_extradata_impl.h" |
| 54 | 54 |
| 55 #if defined(ENABLE_WEBRTC) | 55 #if defined(ENABLE_WEBRTC) |
| 56 #include "content/renderer/media/rtc_peer_connection_handler.h" | 56 #include "content/renderer/media/rtc_peer_connection_handler.h" |
| 57 #endif | 57 #endif |
| 58 | 58 |
| 59 using blink::WebDataSource; | 59 using blink::WebDataSource; |
| 60 using blink::WebDocument; | 60 using blink::WebDocument; |
| (...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 | 949 |
| 950 void RenderFrameImpl::didLoseWebGLContext(blink::WebFrame* frame, | 950 void RenderFrameImpl::didLoseWebGLContext(blink::WebFrame* frame, |
| 951 int arb_robustness_status_code) { | 951 int arb_robustness_status_code) { |
| 952 render_view_->Send(new ViewHostMsg_DidLose3DContext( | 952 render_view_->Send(new ViewHostMsg_DidLose3DContext( |
| 953 GURL(frame->top()->document().securityOrigin().toString()), | 953 GURL(frame->top()->document().securityOrigin().toString()), |
| 954 THREE_D_API_TYPE_WEBGL, | 954 THREE_D_API_TYPE_WEBGL, |
| 955 arb_robustness_status_code)); | 955 arb_robustness_status_code)); |
| 956 } | 956 } |
| 957 | 957 |
| 958 } // namespace content | 958 } // namespace content |
| OLD | NEW |