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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 4127002: Pass --use-gl command line argument to renderer process for use with... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | « no previous file | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/browser_render_process_host.h" 8 #include "chrome/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 // We propagate the Chrome Frame command line here as well in case the 600 // We propagate the Chrome Frame command line here as well in case the
601 // renderer is not run in the sandbox. 601 // renderer is not run in the sandbox.
602 switches::kChromeFrame, 602 switches::kChromeFrame,
603 // We need to propagate this flag to determine whether to make the 603 // We need to propagate this flag to determine whether to make the
604 // WebGLArray constructors on the DOMWindow visible. This 604 // WebGLArray constructors on the DOMWindow visible. This
605 // information is needed very early during bringup. We prefer to 605 // information is needed very early during bringup. We prefer to
606 // use the WebPreferences to set this flag on a page-by-page basis. 606 // use the WebPreferences to set this flag on a page-by-page basis.
607 switches::kDisableExperimentalWebGL, 607 switches::kDisableExperimentalWebGL,
608 switches::kDisableGLSLTranslator, 608 switches::kDisableGLSLTranslator,
609 switches::kInProcessWebGL, 609 switches::kInProcessWebGL,
610 // This flag needs to be propagated to the renderer process for
611 // --in-process-webgl.
612 switches::kUseGL,
610 switches::kDisableAcceleratedCompositing, 613 switches::kDisableAcceleratedCompositing,
611 #if defined(OS_MACOSX) 614 #if defined(OS_MACOSX)
612 // Allow this to be set when invoking the browser and relayed along. 615 // Allow this to be set when invoking the browser and relayed along.
613 switches::kEnableSandboxLogging, 616 switches::kEnableSandboxLogging,
614 #endif 617 #endif
615 switches::kRemoteShellPort, 618 switches::kRemoteShellPort,
616 switches::kEnablePepperTesting, 619 switches::kEnablePepperTesting,
617 switches::kBlockNonSandboxedPlugins, 620 switches::kBlockNonSandboxedPlugins,
618 switches::kDisableOutdatedPlugins, 621 switches::kDisableOutdatedPlugins,
619 switches::kEnableRemoting, 622 switches::kEnableRemoting,
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 IPC::InvalidPlatformFileForTransit(), 1134 IPC::InvalidPlatformFileForTransit(),
1132 std::vector<std::string>(), 1135 std::vector<std::string>(),
1133 std::string(), 1136 std::string(),
1134 false)); 1137 false));
1135 } 1138 }
1136 } 1139 }
1137 1140
1138 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { 1141 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) {
1139 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); 1142 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable));
1140 } 1143 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698