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

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

Issue 18174006: Allow tracing to console everywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 5 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/browser/browser_child_process_host_impl.cc ('k') | content/child/child_thread.cc » ('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 // 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 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 // This flag needs to be propagated to the renderer process for 1001 // This flag needs to be propagated to the renderer process for
1002 // --in-process-webgl. 1002 // --in-process-webgl.
1003 switches::kUseGL, 1003 switches::kUseGL,
1004 switches::kUseMobileUserAgent, 1004 switches::kUseMobileUserAgent,
1005 switches::kUserAgent, 1005 switches::kUserAgent,
1006 switches::kV, 1006 switches::kV,
1007 switches::kVideoThreads, 1007 switches::kVideoThreads,
1008 switches::kVModule, 1008 switches::kVModule,
1009 switches::kWebCoreLogChannels, 1009 switches::kWebCoreLogChannels,
1010 switches::kEnableWebGLDraftExtensions, 1010 switches::kEnableWebGLDraftExtensions,
1011 switches::kTraceToConsole,
1011 // Please keep these in alphabetical order. Compositor switches here should 1012 // Please keep these in alphabetical order. Compositor switches here should
1012 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1013 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1013 cc::switches::kBackgroundColorInsteadOfCheckerboard, 1014 cc::switches::kBackgroundColorInsteadOfCheckerboard,
1014 cc::switches::kCompositeToMailbox, 1015 cc::switches::kCompositeToMailbox,
1015 cc::switches::kDisableImplSidePainting, 1016 cc::switches::kDisableImplSidePainting,
1016 cc::switches::kDisableThreadedAnimation, 1017 cc::switches::kDisableThreadedAnimation,
1017 cc::switches::kEnableImplSidePainting, 1018 cc::switches::kEnableImplSidePainting,
1018 cc::switches::kEnablePartialSwap, 1019 cc::switches::kEnablePartialSwap,
1019 cc::switches::kEnablePerTilePainting, 1020 cc::switches::kEnablePerTilePainting,
1020 cc::switches::kEnablePinchVirtualViewport, 1021 cc::switches::kEnablePinchVirtualViewport,
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1778 // Skip widgets in other processes. 1779 // Skip widgets in other processes.
1779 if (widgets[i]->GetProcess()->GetID() != GetID()) 1780 if (widgets[i]->GetProcess()->GetID() != GetID())
1780 continue; 1781 continue;
1781 1782
1782 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1783 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1783 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1784 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1784 } 1785 }
1785 } 1786 }
1786 1787
1787 } // namespace content 1788 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698