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

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

Issue 3809005: Moves instant back into flags. (Closed) Base URL: http://git.chromium.org/git/chromium.git
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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 #endif 607 #endif
608 switches::kRemoteShellPort, 608 switches::kRemoteShellPort,
609 switches::kEnablePepperTesting, 609 switches::kEnablePepperTesting,
610 switches::kBlockNonSandboxedPlugins, 610 switches::kBlockNonSandboxedPlugins,
611 switches::kDisableOutdatedPlugins, 611 switches::kDisableOutdatedPlugins,
612 switches::kEnableRemoting, 612 switches::kEnableRemoting,
613 switches::kDisableClickToPlay, 613 switches::kDisableClickToPlay,
614 switches::kEnableResourceContentSettings, 614 switches::kEnableResourceContentSettings,
615 switches::kPrelaunchGpuProcess, 615 switches::kPrelaunchGpuProcess,
616 switches::kEnableAcceleratedDecoding, 616 switches::kEnableAcceleratedDecoding,
617 switches::kEnableFileSystem 617 switches::kEnableFileSystem,
618 switches::kEnableMatchPreview
618 }; 619 };
619 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 620 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
620 arraysize(kSwitchNames)); 621 arraysize(kSwitchNames));
621 622
622 // Disable databases in incognito mode. 623 // Disable databases in incognito mode.
623 if (profile()->IsOffTheRecord() && 624 if (profile()->IsOffTheRecord() &&
624 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 625 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
625 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 626 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
626 } 627 }
627 } 628 }
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1122 IPC::InvalidPlatformFileForTransit(), 1123 IPC::InvalidPlatformFileForTransit(),
1123 std::vector<std::string>(), 1124 std::vector<std::string>(),
1124 std::string(), 1125 std::string(),
1125 false)); 1126 false));
1126 } 1127 }
1127 } 1128 }
1128 1129
1129 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { 1130 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) {
1130 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); 1131 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable));
1131 } 1132 }
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