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

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

Issue 6610022: Enable speech input by default and remove unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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/browser/renderer_host/browser_render_process_host.cc » ('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 #ifndef CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void InitVisitedLinks(); 109 void InitVisitedLinks();
110 110
111 // Initialize support for user scripts. Send the renderer process its initial 111 // Initialize support for user scripts. Send the renderer process its initial
112 // set of scripts and listen for updates to scripts. 112 // set of scripts and listen for updates to scripts.
113 void InitUserScripts(); 113 void InitUserScripts();
114 114
115 // Initialize support for extension APIs. Send the list of registered API 115 // Initialize support for extension APIs. Send the list of registered API
116 // functions to thre renderer process. 116 // functions to thre renderer process.
117 void InitExtensions(); 117 void InitExtensions();
118 118
119 // Initialize support for speech input API. Informs the renderer if the API
120 // is enabled or not.
121 void InitSpeechInput();
122
123 // Sends the renderer process a new set of user scripts. 119 // Sends the renderer process a new set of user scripts.
124 void SendUserScriptsUpdate(base::SharedMemory* shared_memory); 120 void SendUserScriptsUpdate(base::SharedMemory* shared_memory);
125 121
126 // Generates a command line to be used to spawn a renderer and appends the 122 // Generates a command line to be used to spawn a renderer and appends the
127 // results to |*command_line|. 123 // results to |*command_line|.
128 void AppendRendererCommandLine(CommandLine* command_line) const; 124 void AppendRendererCommandLine(CommandLine* command_line) const;
129 125
130 // Copies applicable command line switches from the given |browser_cmd| line 126 // Copies applicable command line switches from the given |browser_cmd| line
131 // flags to the output |renderer_cmd| line flags. Not all switches will be 127 // flags to the output |renderer_cmd| line flags. Not all switches will be
132 // copied over. 128 // copied over.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // messages that are sent once the process handle is available. This is 207 // messages that are sent once the process handle is available. This is
212 // because the queued messages may have dependencies on the init messages. 208 // because the queued messages may have dependencies on the init messages.
213 std::queue<IPC::Message*> queued_messages_; 209 std::queue<IPC::Message*> queued_messages_;
214 210
215 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_; 211 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_;
216 212
217 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 213 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
218 }; 214 };
219 215
220 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 216 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698