OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <map> | 9 #include <map> |
10 #include <vector> | 10 #include <vector> |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
882 RenderViewImpl::Create( | 882 RenderViewImpl::Create( |
883 params.parent_window, | 883 params.parent_window, |
884 params.opener_route_id, | 884 params.opener_route_id, |
885 params.renderer_preferences, | 885 params.renderer_preferences, |
886 params.web_preferences, | 886 params.web_preferences, |
887 new SharedRenderViewCounter(0), | 887 new SharedRenderViewCounter(0), |
888 params.view_id, | 888 params.view_id, |
889 params.surface_id, | 889 params.surface_id, |
890 params.session_storage_namespace_id, | 890 params.session_storage_namespace_id, |
891 params.frame_name, | 891 params.frame_name, |
892 params.user_agent_override, | |
jochen (gone - plz use gerrit)
2012/05/31 14:09:16
wrong indent
gone
2012/05/31 21:43:25
Will be fixed in next patch set.
gone
2012/06/14 00:46:39
Got rid of it; didn't need it anymore.
| |
892 false, | 893 false, |
893 params.swapped_out, | 894 params.swapped_out, |
894 params.next_page_id, | 895 params.next_page_id, |
895 params.screen_info, | 896 params.screen_info, |
896 NULL, | 897 NULL, |
897 params.accessibility_mode); | 898 params.accessibility_mode); |
898 } | 899 } |
899 } | 900 } |
900 | 901 |
901 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( | 902 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
984 | 985 |
985 scoped_refptr<base::MessageLoopProxy> | 986 scoped_refptr<base::MessageLoopProxy> |
986 RenderThreadImpl::GetFileThreadMessageLoopProxy() { | 987 RenderThreadImpl::GetFileThreadMessageLoopProxy() { |
987 DCHECK(message_loop() == MessageLoop::current()); | 988 DCHECK(message_loop() == MessageLoop::current()); |
988 if (!file_thread_.get()) { | 989 if (!file_thread_.get()) { |
989 file_thread_.reset(new base::Thread("Renderer::FILE")); | 990 file_thread_.reset(new base::Thread("Renderer::FILE")); |
990 file_thread_->Start(); | 991 file_thread_->Start(); |
991 } | 992 } |
992 return file_thread_->message_loop_proxy(); | 993 return file_thread_->message_loop_proxy(); |
993 } | 994 } |
OLD | NEW |