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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "content/child/appcache/appcache_dispatcher.h" | 10 #include "content/child/appcache/appcache_dispatcher.h" |
11 #include "content/child/quota_dispatcher.h" | 11 #include "content/child/quota_dispatcher.h" |
12 #include "content/child/request_extra_data.h" | 12 #include "content/child/request_extra_data.h" |
13 #include "content/common/socket_stream_handle_data.h" | 13 #include "content/common/socket_stream_handle_data.h" |
14 #include "content/common/swapped_out_messages.h" | 14 #include "content/common/swapped_out_messages.h" |
15 #include "content/common/view_messages.h" | 15 #include "content/common/view_messages.h" |
16 #include "content/public/common/content_constants.h" | 16 #include "content/public/common/content_constants.h" |
17 #include "content/public/common/content_switches.h" | 17 #include "content/public/common/content_switches.h" |
18 #include "content/public/common/url_constants.h" | 18 #include "content/public/common/url_constants.h" |
19 #include "content/public/renderer/content_renderer_client.h" | 19 #include "content/public/renderer/content_renderer_client.h" |
20 #include "content/public/renderer/document_state.h" | 20 #include "content/public/renderer/document_state.h" |
21 #include "content/public/renderer/navigation_state.h" | 21 #include "content/public/renderer/navigation_state.h" |
22 #include "content/public/renderer/password_form_conversion_utils.h" | |
23 #include "content/renderer/browser_plugin/browser_plugin.h" | 22 #include "content/renderer/browser_plugin/browser_plugin.h" |
24 #include "content/renderer/browser_plugin/browser_plugin_manager.h" | 23 #include "content/renderer/browser_plugin/browser_plugin_manager.h" |
25 #include "content/renderer/internal_document_state_data.h" | 24 #include "content/renderer/internal_document_state_data.h" |
26 #include "content/renderer/media/rtc_peer_connection_handler.h" | 25 #include "content/renderer/media/rtc_peer_connection_handler.h" |
27 #include "content/renderer/render_thread_impl.h" | 26 #include "content/renderer/render_thread_impl.h" |
28 #include "content/renderer/render_view_impl.h" | 27 #include "content/renderer/render_view_impl.h" |
29 #include "content/renderer/renderer_webapplicationcachehost_impl.h" | 28 #include "content/renderer/renderer_webapplicationcachehost_impl.h" |
30 #include "content/renderer/websharedworker_proxy.h" | 29 #include "content/renderer/websharedworker_proxy.h" |
31 #include "net/base/net_errors.h" | 30 #include "net/base/net_errors.h" |
32 #include "net/http/http_util.h" | 31 #include "net/http/http_util.h" |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 | 857 |
859 void RenderFrameImpl::didLoseWebGLContext(WebKit::WebFrame* frame, | 858 void RenderFrameImpl::didLoseWebGLContext(WebKit::WebFrame* frame, |
860 int arb_robustness_status_code) { | 859 int arb_robustness_status_code) { |
861 render_view_->Send(new ViewHostMsg_DidLose3DContext( | 860 render_view_->Send(new ViewHostMsg_DidLose3DContext( |
862 GURL(frame->top()->document().securityOrigin().toString()), | 861 GURL(frame->top()->document().securityOrigin().toString()), |
863 THREE_D_API_TYPE_WEBGL, | 862 THREE_D_API_TYPE_WEBGL, |
864 arb_robustness_status_code)); | 863 arb_robustness_status_code)); |
865 } | 864 } |
866 | 865 |
867 } // namespace content | 866 } // namespace content |
OLD | NEW |