diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 23:33:38 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 23:33:38 +0000 |
commit | afcb435647a0ce2be73ff6102fe00d9338dfc985 (patch) | |
tree | aa6b97369149df04a58e387c8e5d0fcd15a78d8d /content/common | |
parent | 321fb2dd2ab53714d2b827e5365b20ab3c911d0d (diff) | |
download | chromium_src-afcb435647a0ce2be73ff6102fe00d9338dfc985.zip chromium_src-afcb435647a0ce2be73ff6102fe00d9338dfc985.tar.gz chromium_src-afcb435647a0ce2be73ff6102fe00d9338dfc985.tar.bz2 |
Adds a global keyboard shortcut to trigger speech input in the currently
focused speech-enabled text input box, if any.
Depends on WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=60170
BUG=94426
TEST=manual testing
Review URL: http://codereview.chromium.org/7046021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/speech_input_messages.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/common/speech_input_messages.h b/content/common/speech_input_messages.h index df7f90f..2e2e27e 100644 --- a/content/common/speech_input_messages.h +++ b/content/common/speech_input_messages.h @@ -74,3 +74,7 @@ IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecordingComplete, IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecognitionComplete, int /* request_id */) +// Toggle speech input on or off on the speech input control for the +// current focused element. Has no effect if the current element doesn't +// support speech input. +IPC_MESSAGE_ROUTED0(SpeechInputMsg_ToggleSpeechInput) |