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

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

Issue 6133006: Enable speech input by default and remove unused code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 11 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 "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void InitVisitedLinks(); 118 void InitVisitedLinks();
119 119
120 // Initialize support for user scripts. Send the renderer process its initial 120 // Initialize support for user scripts. Send the renderer process its initial
121 // set of scripts and listen for updates to scripts. 121 // set of scripts and listen for updates to scripts.
122 void InitUserScripts(); 122 void InitUserScripts();
123 123
124 // Initialize support for extension APIs. Send the list of registered API 124 // Initialize support for extension APIs. Send the list of registered API
125 // functions to thre renderer process. 125 // functions to thre renderer process.
126 void InitExtensions(); 126 void InitExtensions();
127 127
128 // Initialize support for speech input API. Informs the renderer if the API
129 // is enabled or not.
130 void InitSpeechInput();
131
132 // Sends the renderer process a new set of user scripts. 128 // Sends the renderer process a new set of user scripts.
133 void SendUserScriptsUpdate(base::SharedMemory* shared_memory); 129 void SendUserScriptsUpdate(base::SharedMemory* shared_memory);
134 130
135 // Sends the renderer process the list of all loaded extensions along with a 131 // Sends the renderer process the list of all loaded extensions along with a
136 // subset of information the renderer needs about them. 132 // subset of information the renderer needs about them.
137 void SendExtensionInfo(); 133 void SendExtensionInfo();
138 134
139 // Generates a command line to be used to spawn a renderer and appends the 135 // Generates a command line to be used to spawn a renderer and appends the
140 // results to |*command_line|. 136 // results to |*command_line|.
141 void AppendRendererCommandLine(CommandLine* command_line) const; 137 void AppendRendererCommandLine(CommandLine* command_line) const;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // messages that are sent once the process handle is available. This is 220 // messages that are sent once the process handle is available. This is
225 // because the queued messages may have dependencies on the init messages. 221 // because the queued messages may have dependencies on the init messages.
226 std::queue<IPC::Message*> queued_messages_; 222 std::queue<IPC::Message*> queued_messages_;
227 223
228 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_; 224 base::ScopedCallbackFactory<BrowserRenderProcessHost> callback_factory_;
229 225
230 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost); 226 DISALLOW_COPY_AND_ASSIGN(BrowserRenderProcessHost);
231 }; 227 };
232 228
233 #endif // CHROME_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_H_ 229 #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