Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 10441101: Revert 124453 - WebWidgetClient::screenInfo() no longer does a synchronous IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: perged Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 params.renderer_preferences, 887 params.renderer_preferences,
888 params.web_preferences, 888 params.web_preferences,
889 new SharedRenderViewCounter(0), 889 new SharedRenderViewCounter(0),
890 params.view_id, 890 params.view_id,
891 params.surface_id, 891 params.surface_id,
892 params.session_storage_namespace_id, 892 params.session_storage_namespace_id,
893 params.frame_name, 893 params.frame_name,
894 false, 894 false,
895 params.swapped_out, 895 params.swapped_out,
896 params.next_page_id, 896 params.next_page_id,
897 params.screen_info,
898 NULL, 897 NULL,
899 params.accessibility_mode); 898 params.accessibility_mode);
900 } 899 }
901 } 900 }
902 901
903 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( 902 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
904 content::CauseForGpuLaunch cause_for_gpu_launch) { 903 content::CauseForGpuLaunch cause_for_gpu_launch) {
905 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync"); 904 TRACE_EVENT0("gpu", "RenderThreadImpl::EstablishGpuChannelSync");
906 905
907 if (gpu_channel_.get()) { 906 if (gpu_channel_.get()) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 985
987 scoped_refptr<base::MessageLoopProxy> 986 scoped_refptr<base::MessageLoopProxy>
988 RenderThreadImpl::GetFileThreadMessageLoopProxy() { 987 RenderThreadImpl::GetFileThreadMessageLoopProxy() {
989 DCHECK(message_loop() == MessageLoop::current()); 988 DCHECK(message_loop() == MessageLoop::current());
990 if (!file_thread_.get()) { 989 if (!file_thread_.get()) {
991 file_thread_.reset(new base::Thread("Renderer::FILE")); 990 file_thread_.reset(new base::Thread("Renderer::FILE"));
992 file_thread_->Start(); 991 file_thread_->Start();
993 } 992 }
994 return file_thread_->message_loop_proxy(); 993 return file_thread_->message_loop_proxy();
995 } 994 }
OLDNEW
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin_channel_manager.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698