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

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

Issue 3312017: Plumbs through window.chrome.setSuggestResult. (Closed)
Patch Set: more comments Created 10 years, 3 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
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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 switches::kEnablePepperTesting, 573 switches::kEnablePepperTesting,
574 switches::kBlockNonSandboxedPlugins, 574 switches::kBlockNonSandboxedPlugins,
575 switches::kDisableOutdatedPlugins, 575 switches::kDisableOutdatedPlugins,
576 switches::kEnableRemoting, 576 switches::kEnableRemoting,
577 switches::kDisableClickToPlay, 577 switches::kDisableClickToPlay,
578 switches::kEnableResourceContentSettings, 578 switches::kEnableResourceContentSettings,
579 switches::kPrelaunchGpuProcess, 579 switches::kPrelaunchGpuProcess,
580 switches::kEnableAcceleratedCompositing, 580 switches::kEnableAcceleratedCompositing,
581 switches::kEnableAcceleratedDecoding, 581 switches::kEnableAcceleratedDecoding,
582 switches::kEnableFileSystem, 582 switches::kEnableFileSystem,
583 switches::kEnableMatchPreview
583 }; 584 };
584 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames, 585 renderer_cmd->CopySwitchesFrom(browser_cmd, kSwitchNames,
585 arraysize(kSwitchNames)); 586 arraysize(kSwitchNames));
586 587
587 // Disable databases in incognito mode. 588 // Disable databases in incognito mode.
588 if (profile()->IsOffTheRecord() && 589 if (profile()->IsOffTheRecord() &&
589 !browser_cmd.HasSwitch(switches::kDisableDatabases)) { 590 !browser_cmd.HasSwitch(switches::kDisableDatabases)) {
590 renderer_cmd->AppendSwitch(switches::kDisableDatabases); 591 renderer_cmd->AppendSwitch(switches::kDisableDatabases);
591 } 592 }
592 } 593 }
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 IPC::InvalidPlatformFileForTransit(), 1076 IPC::InvalidPlatformFileForTransit(),
1076 std::vector<std::string>(), 1077 std::vector<std::string>(),
1077 std::string(), 1078 std::string(),
1078 false)); 1079 false));
1079 } 1080 }
1080 } 1081 }
1081 1082
1082 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { 1083 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) {
1083 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); 1084 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable));
1084 } 1085 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.h » ('j') | chrome/renderer/search_extension.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698