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

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

Issue 3020077: Revert 55405 - Special thanks for in-ming cheng's MFT hardware decodering cod... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('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) 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 switches::kEnableSandboxLogging, 571 switches::kEnableSandboxLogging,
572 switches::kDisableFlashCoreAnimation, 572 switches::kDisableFlashCoreAnimation,
573 #endif 573 #endif
574 switches::kRemoteShellPort, 574 switches::kRemoteShellPort,
575 switches::kEnablePepperTesting, 575 switches::kEnablePepperTesting,
576 switches::kBlockNonSandboxedPlugins, 576 switches::kBlockNonSandboxedPlugins,
577 switches::kDisableOutdatedPlugins, 577 switches::kDisableOutdatedPlugins,
578 switches::kEnableRemoting, 578 switches::kEnableRemoting,
579 switches::kEnableClickToPlay, 579 switches::kEnableClickToPlay,
580 switches::kPrelaunchGpuProcess, 580 switches::kPrelaunchGpuProcess,
581 switches::kEnableAcceleratedCompositing,
582 switches::kEnableAcceleratedDecoding,
583 }; 581 };
584 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 582 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
585 arraysize(kSwitchNames)); 583 arraysize(kSwitchNames));
586 584
587 // Disable databases in incognito mode. 585 // Disable databases in incognito mode.
588 if (profile()->IsOffTheRecord() && 586 if (profile()->IsOffTheRecord() &&
589 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 587 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
590 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 588 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
591 } 589 }
592 } 590 }
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 IPC::InvalidPlatformFileForTransit(), 1066 IPC::InvalidPlatformFileForTransit(),
1069 std::vector<std::string>(), 1067 std::vector<std::string>(),
1070 std::string(), 1068 std::string(),
1071 false)); 1069 false));
1072 } 1070 }
1073 } 1071 }
1074 1072
1075 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { 1073 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) {
1076 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); 1074 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable));
1077 } 1075 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698