| OLD | NEW |
| 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 | 983 |
| 984 // Indicate that speech recognizer has stopped recording and started | 984 // Indicate that speech recognizer has stopped recording and started |
| 985 // recognition. | 985 // recognition. |
| 986 IPC_MESSAGE_ROUTED0(ViewMsg_SpeechInput_RecordingComplete) | 986 IPC_MESSAGE_ROUTED0(ViewMsg_SpeechInput_RecordingComplete) |
| 987 | 987 |
| 988 // Indicate that speech recognizer has completed recognition. This will be | 988 // Indicate that speech recognizer has completed recognition. This will be |
| 989 // the last message sent in response to a | 989 // the last message sent in response to a |
| 990 // ViewHostMsg_SpeechInput_StartRecognition. | 990 // ViewHostMsg_SpeechInput_StartRecognition. |
| 991 IPC_MESSAGE_ROUTED0(ViewMsg_SpeechInput_RecognitionComplete) | 991 IPC_MESSAGE_ROUTED0(ViewMsg_SpeechInput_RecognitionComplete) |
| 992 | 992 |
| 993 // Notification that the device's orientation has changed. |
| 994 IPC_MESSAGE_ROUTED1(ViewMsg_DeviceOrientationUpdated, |
| 995 ViewMsg_DeviceOrientationUpdated_Params) |
| 996 |
| 993 IPC_END_MESSAGES(View) | 997 IPC_END_MESSAGES(View) |
| 994 | 998 |
| 995 | 999 |
| 996 //----------------------------------------------------------------------------- | 1000 //----------------------------------------------------------------------------- |
| 997 // TabContents messages | 1001 // TabContents messages |
| 998 // These are messages sent from the renderer to the browser process. | 1002 // These are messages sent from the renderer to the browser process. |
| 999 | 1003 |
| 1000 IPC_BEGIN_MESSAGES(ViewHost) | 1004 IPC_BEGIN_MESSAGES(ViewHost) |
| 1001 // Sent by the renderer when it is creating a new window. The browser creates | 1005 // Sent by the renderer when it is creating a new window. The browser creates |
| 1002 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 1006 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| (...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2576 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_CancelRecognition, | 2580 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_CancelRecognition, |
| 2577 int /* render_view_id */) | 2581 int /* render_view_id */) |
| 2578 | 2582 |
| 2579 // Requests the speech input service to stop audio recording on behalf of | 2583 // Requests the speech input service to stop audio recording on behalf of |
| 2580 // the given |render_view_id|. Any audio recorded so far will be fed to the | 2584 // the given |render_view_id|. Any audio recorded so far will be fed to the |
| 2581 // speech recognizer. If speech recognition is not happening nor or is | 2585 // speech recognizer. If speech recognition is not happening nor or is |
| 2582 // happening on behalf of some other render view, this call does nothing. | 2586 // happening on behalf of some other render view, this call does nothing. |
| 2583 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, | 2587 IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, |
| 2584 int /* render_view_id */) | 2588 int /* render_view_id */) |
| 2585 | 2589 |
| 2590 //--------------------------------------------------------------------------- |
| 2591 // Device orientation services messages: |
| 2592 |
| 2593 // A RenderView requests to start receiving device orientation updates. |
| 2594 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating, |
| 2595 int /* render_view_id */) |
| 2596 |
| 2597 // A RenderView requests to stop receiving device orientation updates. |
| 2598 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, |
| 2599 int /* render_view_id */) |
| 2600 |
| 2586 IPC_END_MESSAGES(ViewHost) | 2601 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |