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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 21271002: Added SkImageFilter serialization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hid new ipc code behind flag and removed test changes Created 7 years, 4 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 DCHECK(gpu_data_manager); 859 DCHECK(gpu_data_manager);
860 gpu_data_manager->AppendRendererCommandLine(command_line); 860 gpu_data_manager->AppendRendererCommandLine(command_line);
861 } 861 }
862 862
863 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( 863 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
864 const CommandLine& browser_cmd, 864 const CommandLine& browser_cmd,
865 CommandLine* renderer_cmd) const { 865 CommandLine* renderer_cmd) const {
866 // Propagate the following switches to the renderer command line (along 866 // Propagate the following switches to the renderer command line (along
867 // with any associated values) if present in the browser command line. 867 // with any associated values) if present in the browser command line.
868 static const char* const kSwitchNames[] = { 868 static const char* const kSwitchNames[] = {
869 switches::kAllowFiltersOverIPC,
869 switches::kAudioBufferSize, 870 switches::kAudioBufferSize,
870 switches::kAuditAllHandles, 871 switches::kAuditAllHandles,
871 switches::kAuditHandles, 872 switches::kAuditHandles,
872 switches::kDisable3DAPIs, 873 switches::kDisable3DAPIs,
873 switches::kDisableAcceleratedCompositing, 874 switches::kDisableAcceleratedCompositing,
874 switches::kDisableAcceleratedVideoDecode, 875 switches::kDisableAcceleratedVideoDecode,
875 switches::kDisableApplicationCache, 876 switches::kDisableApplicationCache,
876 switches::kDisableAudio, 877 switches::kDisableAudio,
877 switches::kDisableBreakpad, 878 switches::kDisableBreakpad,
878 switches::kDisableDatabases, 879 switches::kDisableDatabases,
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 // Skip widgets in other processes. 1798 // Skip widgets in other processes.
1798 if (widgets[i]->GetProcess()->GetID() != GetID()) 1799 if (widgets[i]->GetProcess()->GetID() != GetID())
1799 continue; 1800 continue;
1800 1801
1801 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1802 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1802 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1803 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1803 } 1804 }
1804 } 1805 }
1805 1806
1806 } // namespace content 1807 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698