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

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

Issue 3842003: Merge 62881 - Moves instant back into flags.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/552/src/
Patch Set: Created 10 years, 2 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) 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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 #endif 604 #endif
605 switches::kRemoteShellPort, 605 switches::kRemoteShellPort,
606 switches::kEnablePepperTesting, 606 switches::kEnablePepperTesting,
607 switches::kBlockNonSandboxedPlugins, 607 switches::kBlockNonSandboxedPlugins,
608 switches::kDisableOutdatedPlugins, 608 switches::kDisableOutdatedPlugins,
609 switches::kEnableRemoting, 609 switches::kEnableRemoting,
610 switches::kDisableClickToPlay, 610 switches::kDisableClickToPlay,
611 switches::kEnableResourceContentSettings, 611 switches::kEnableResourceContentSettings,
612 switches::kPrelaunchGpuProcess, 612 switches::kPrelaunchGpuProcess,
613 switches::kEnableAcceleratedDecoding, 613 switches::kEnableAcceleratedDecoding,
614 switches::kEnableMatchPreview,
614 switches::kDisableFileSystem 615 switches::kDisableFileSystem
615 }; 616 };
616 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 617 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
617 arraysize(kSwitchNames)); 618 arraysize(kSwitchNames));
618 619
619 // Disable databases in incognito mode. 620 // Disable databases in incognito mode.
620 if (profile()->IsOffTheRecord() && 621 if (profile()->IsOffTheRecord() &&
621 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 622 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
622 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 623 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
623 } 624 }
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 IPC::InvalidPlatformFileForTransit(), 1119 IPC::InvalidPlatformFileForTransit(),
1119 std::vector<std::string>(), 1120 std::vector<std::string>(),
1120 std::string(), 1121 std::string(),
1121 false)); 1122 false));
1122 } 1123 }
1123 } 1124 }
1124 1125
1125 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { 1126 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) {
1126 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); 1127 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable));
1127 } 1128 }
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/views/options/general_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698