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

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

Issue 10378089: Browser Plugin: Removed BrowserPluginWebContentsObserver (to be replaced by rewritten BrowserPlugi… (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Yet another unit test fixed Created 8 years, 7 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/test/test_renderer_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
867 params.web_preferences, 867 params.web_preferences,
868 new SharedRenderViewCounter(0), 868 new SharedRenderViewCounter(0),
869 params.view_id, 869 params.view_id,
870 params.surface_id, 870 params.surface_id,
871 params.session_storage_namespace_id, 871 params.session_storage_namespace_id,
872 params.frame_name, 872 params.frame_name,
873 false, 873 false,
874 params.swapped_out, 874 params.swapped_out,
875 params.next_page_id, 875 params.next_page_id,
876 params.screen_info, 876 params.screen_info,
877 params.guest, 877 false,
878 params.accessibility_mode); 878 params.accessibility_mode);
879 } 879 }
880 880
881 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync( 881 GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(
882 content::CauseForGpuLaunch cause_for_gpu_launch) { 882 content::CauseForGpuLaunch cause_for_gpu_launch) {
883 if (gpu_channel_.get()) { 883 if (gpu_channel_.get()) {
884 // Do nothing if we already have a GPU channel or are already 884 // Do nothing if we already have a GPU channel or are already
885 // establishing one. 885 // establishing one.
886 if (gpu_channel_->state() == GpuChannelHost::kUnconnected || 886 if (gpu_channel_->state() == GpuChannelHost::kUnconnected ||
887 gpu_channel_->state() == GpuChannelHost::kConnected) 887 gpu_channel_->state() == GpuChannelHost::kConnected)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 966
967 scoped_refptr<base::MessageLoopProxy> 967 scoped_refptr<base::MessageLoopProxy>
968 RenderThreadImpl::GetFileThreadMessageLoopProxy() { 968 RenderThreadImpl::GetFileThreadMessageLoopProxy() {
969 DCHECK(message_loop() == MessageLoop::current()); 969 DCHECK(message_loop() == MessageLoop::current());
970 if (!file_thread_.get()) { 970 if (!file_thread_.get()) {
971 file_thread_.reset(new base::Thread("Renderer::FILE")); 971 file_thread_.reset(new base::Thread("Renderer::FILE"));
972 file_thread_->Start(); 972 file_thread_->Start();
973 } 973 }
974 return file_thread_->message_loop_proxy(); 974 return file_thread_->message_loop_proxy();
975 } 975 }
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/test/test_renderer_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698