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

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: Skia API 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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 DCHECK(gpu_data_manager); 864 DCHECK(gpu_data_manager);
865 gpu_data_manager->AppendRendererCommandLine(command_line); 865 gpu_data_manager->AppendRendererCommandLine(command_line);
866 } 866 }
867 867
868 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( 868 void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
869 const CommandLine& browser_cmd, 869 const CommandLine& browser_cmd,
870 CommandLine* renderer_cmd) const { 870 CommandLine* renderer_cmd) const {
871 // Propagate the following switches to the renderer command line (along 871 // Propagate the following switches to the renderer command line (along
872 // with any associated values) if present in the browser command line. 872 // with any associated values) if present in the browser command line.
873 static const char* const kSwitchNames[] = { 873 static const char* const kSwitchNames[] = {
874 switches::kAllowFiltersOverIPC,
874 switches::kAudioBufferSize, 875 switches::kAudioBufferSize,
875 switches::kAuditAllHandles, 876 switches::kAuditAllHandles,
876 switches::kAuditHandles, 877 switches::kAuditHandles,
877 switches::kDisable3DAPIs, 878 switches::kDisable3DAPIs,
878 switches::kDisableAcceleratedCompositing, 879 switches::kDisableAcceleratedCompositing,
879 switches::kDisableAcceleratedVideoDecode, 880 switches::kDisableAcceleratedVideoDecode,
880 switches::kDisableApplicationCache, 881 switches::kDisableApplicationCache,
881 switches::kDisableAudio, 882 switches::kDisableAudio,
882 switches::kDisableBreakpad, 883 switches::kDisableBreakpad,
883 switches::kDisableDatabases, 884 switches::kDisableDatabases,
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 // Skip widgets in other processes. 1805 // Skip widgets in other processes.
1805 if (widgets[i]->GetProcess()->GetID() != GetID()) 1806 if (widgets[i]->GetProcess()->GetID() != GetID())
1806 continue; 1807 continue;
1807 1808
1808 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1809 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1809 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1810 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1810 } 1811 }
1811 } 1812 }
1812 1813
1813 } // namespace content 1814 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698