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

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: Always Read/Write data, but ignore send/receive based on flag 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 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 DCHECK(gpu_data_manager); 861 DCHECK(gpu_data_manager);
862 gpu_data_manager->AppendRendererCommandLine(command_line); 862 gpu_data_manager->AppendRendererCommandLine(command_line);
863 } 863 }
864 864
865 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( 865 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
866 const CommandLine& browser_cmd, 866 const CommandLine& browser_cmd,
867 CommandLine* renderer_cmd) const { 867 CommandLine* renderer_cmd) const {
868 // Propagate the following switches to the renderer command line (along 868 // Propagate the following switches to the renderer command line (along
869 // with any associated values) if present in the browser command line. 869 // with any associated values) if present in the browser command line.
870 static const char* const kSwitchNames[] = { 870 static const char* const kSwitchNames[] = {
871 switches::kAllowFiltersOverIPC,
871 switches::kAudioBufferSize, 872 switches::kAudioBufferSize,
872 switches::kAuditAllHandles, 873 switches::kAuditAllHandles,
873 switches::kAuditHandles, 874 switches::kAuditHandles,
874 switches::kDisable3DAPIs, 875 switches::kDisable3DAPIs,
875 switches::kDisableAcceleratedCompositing, 876 switches::kDisableAcceleratedCompositing,
876 switches::kDisableAcceleratedVideoDecode, 877 switches::kDisableAcceleratedVideoDecode,
877 switches::kDisableApplicationCache, 878 switches::kDisableApplicationCache,
878 switches::kDisableAudio, 879 switches::kDisableAudio,
879 switches::kDisableBreakpad, 880 switches::kDisableBreakpad,
880 switches::kDisableDatabases, 881 switches::kDisableDatabases,
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 // Skip widgets in other processes. 1801 // Skip widgets in other processes.
1801 if (widgets[i]->GetProcess()->GetID() != GetID()) 1802 if (widgets[i]->GetProcess()->GetID() != GetID())
1802 continue; 1803 continue;
1803 1804
1804 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1805 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1805 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1806 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1806 } 1807 }
1807 } 1808 }
1808 1809
1809 } // namespace content 1810 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698