OLD | NEW |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "chrome/browser/visitedlink_master.h" | 46 #include "chrome/browser/visitedlink_master.h" |
47 #include "chrome/common/chrome_switches.h" | 47 #include "chrome/common/chrome_switches.h" |
48 #include "chrome/common/child_process_info.h" | 48 #include "chrome/common/child_process_info.h" |
49 #include "chrome/common/gpu_messages.h" | 49 #include "chrome/common/gpu_messages.h" |
50 #include "chrome/common/logging_chrome.h" | 50 #include "chrome/common/logging_chrome.h" |
51 #include "chrome/common/net/url_request_context_getter.h" | 51 #include "chrome/common/net/url_request_context_getter.h" |
52 #include "chrome/common/notification_service.h" | 52 #include "chrome/common/notification_service.h" |
53 #include "chrome/common/pref_names.h" | 53 #include "chrome/common/pref_names.h" |
54 #include "chrome/common/process_watcher.h" | 54 #include "chrome/common/process_watcher.h" |
55 #include "chrome/common/render_messages.h" | 55 #include "chrome/common/render_messages.h" |
| 56 #include "chrome/common/render_messages_params.h" |
56 #include "chrome/common/result_codes.h" | 57 #include "chrome/common/result_codes.h" |
57 #include "chrome/renderer/render_process_impl.h" | 58 #include "chrome/renderer/render_process_impl.h" |
58 #include "chrome/renderer/render_thread.h" | 59 #include "chrome/renderer/render_thread.h" |
59 #include "grit/generated_resources.h" | 60 #include "grit/generated_resources.h" |
60 #include "ipc/ipc_logging.h" | 61 #include "ipc/ipc_logging.h" |
61 #include "ipc/ipc_message.h" | 62 #include "ipc/ipc_message.h" |
62 #include "ipc/ipc_platform_file.h" | 63 #include "ipc/ipc_platform_file.h" |
63 #include "ipc/ipc_switches.h" | 64 #include "ipc/ipc_switches.h" |
64 #include "media/base/media_switches.h" | 65 #include "media/base/media_switches.h" |
65 #include "webkit/glue/plugins/plugin_switches.h" | 66 #include "webkit/glue/plugins/plugin_switches.h" |
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1065 IPC::InvalidPlatformFileForTransit(), | 1066 IPC::InvalidPlatformFileForTransit(), |
1066 std::vector<std::string>(), | 1067 std::vector<std::string>(), |
1067 std::string(), | 1068 std::string(), |
1068 false)); | 1069 false)); |
1069 } | 1070 } |
1070 } | 1071 } |
1071 | 1072 |
1072 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { | 1073 void BrowserRenderProcessHost::EnableAutoSpellCorrect(bool enable) { |
1073 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); | 1074 Send(new ViewMsg_SpellChecker_EnableAutoSpellCorrect(enable)); |
1074 } | 1075 } |
OLD | NEW |