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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "chrome/common/common_param_traits.h" | 9 #include "content/common/speech_input_result.h" |
10 #include "chrome/common/speech_input_result.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" |
13 #include "ui/gfx/rect.h" | 12 #include "ui/gfx/rect.h" |
14 | 13 |
15 #define IPC_MESSAGE_START SpeechInputMsgStart | 14 #define IPC_MESSAGE_START SpeechInputMsgStart |
16 | 15 |
17 // Used to start a speech recognition session. | 16 // Used to start a speech recognition session. |
18 IPC_STRUCT_BEGIN(SpeechInputHostMsg_StartRecognition_Params) | 17 IPC_STRUCT_BEGIN(SpeechInputHostMsg_StartRecognition_Params) |
19 // The render view requesting speech recognition. | 18 // The render view requesting speech recognition. |
20 IPC_STRUCT_MEMBER(int, render_view_id) | 19 IPC_STRUCT_MEMBER(int, render_view_id) |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 // recognition. | 67 // recognition. |
69 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecordingComplete, | 68 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecordingComplete, |
70 int /* request_id */) | 69 int /* request_id */) |
71 | 70 |
72 // Indicate that speech recognizer has completed recognition. This will be | 71 // Indicate that speech recognizer has completed recognition. This will be |
73 // the last message sent in response to a | 72 // the last message sent in response to a |
74 // ViewHostMsg_SpeechInput_StartRecognition. | 73 // ViewHostMsg_SpeechInput_StartRecognition. |
75 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecognitionComplete, | 74 IPC_MESSAGE_ROUTED1(SpeechInputMsg_RecognitionComplete, |
76 int /* request_id */) | 75 int /* request_id */) |
77 | 76 |
OLD | NEW |