| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_SPEECH_INPUT_MESSAGES_H_ | 5 #ifndef CHROME_COMMON_SPEECH_INPUT_MESSAGES_H_ |
| 6 #define CHROME_COMMON_SPEECH_INPUT_MESSAGES_H_ | 6 #define CHROME_COMMON_SPEECH_INPUT_MESSAGES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/common/speech_input_result.h" | 9 #include "chrome/common/speech_input_result.h" |
| 10 #include "gfx/rect.h" | |
| 11 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 12 #include "ipc/ipc_param_traits.h" | 11 #include "ipc/ipc_param_traits.h" |
| 12 #include "ui/gfx/rect.h" |
| 13 | 13 |
| 14 #define IPC_MESSAGE_START SpeechInputMsgStart | 14 #define IPC_MESSAGE_START SpeechInputMsgStart |
| 15 | 15 |
| 16 namespace speech_input { | 16 namespace speech_input { |
| 17 struct SpeechInputResultItem; | 17 struct SpeechInputResultItem; |
| 18 } | 18 } |
| 19 | 19 |
| 20 // Used to start a speech recognition session. | 20 // Used to start a speech recognition session. |
| 21 struct SpeechInputHostMsg_StartRecognition_Params { | 21 struct SpeechInputHostMsg_StartRecognition_Params { |
| 22 SpeechInputHostMsg_StartRecognition_Params(); | 22 SpeechInputHostMsg_StartRecognition_Params(); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecordingComplete, | 84 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecordingComplete, |
| 85 int /* request_id */) | 85 int /* request_id */) |
| 86 | 86 |
| 87 // Indicate that speech recognizer has completed recognition. This will be | 87 // Indicate that speech recognizer has completed recognition. This will be |
| 88 // the last message sent in response to a | 88 // the last message sent in response to a |
| 89 // ViewHostMsg_SpeechInput_StartRecognition. | 89 // ViewHostMsg_SpeechInput_StartRecognition. |
| 90 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecognitionComplete, | 90 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecognitionComplete, |
| 91 int /* request_id */) | 91 int /* request_id */) |
| 92 | 92 |
| 93 #endif // CHROME_COMMON_SPEECH_INPUT_MESSAGES_H_ | 93 #endif // CHROME_COMMON_SPEECH_INPUT_MESSAGES_H_ |
| OLD | NEW |