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

Unified Diff: chrome/renderer/speech_input_dispatcher.h

Issue 3615005: Language tag for speech prepatch (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: test_shell changes reverted. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/speech_input_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/speech_input_dispatcher.h
diff --git a/chrome/renderer/speech_input_dispatcher.h b/chrome/renderer/speech_input_dispatcher.h
index 188acaae7d46b723d0392a14d29c1098bee6da90..ec9333fdf45953c76c70a814765b03717e3c09cb 100644
--- a/chrome/renderer/speech_input_dispatcher.h
+++ b/chrome/renderer/speech_input_dispatcher.h
@@ -13,6 +13,7 @@ class GURL;
class RenderView;
namespace WebKit {
+class WebString;
struct WebRect;
class WebSpeechInputListener;
}
@@ -29,7 +30,13 @@ class SpeechInputDispatcher : public WebKit::WebSpeechInputController {
bool OnMessageReceived(const IPC::Message& msg);
// WebKit::WebSpeechInputController.
+ // TODO(leandro): this is a temporary fix for a two-sided patch.
+ // https://bugs.webkit.org/show_bug.cgi?id=47089
+ bool startRecognition(int request_id, const WebKit::WebString& language,
+ const WebKit::WebRect& element_rect);
+
bool startRecognition(int request_id, const WebKit::WebRect& element_rect);
+
void cancelRecognition(int request_id);
void stopRecording(int request_id);
« no previous file with comments | « no previous file | chrome/renderer/speech_input_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698