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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 2858049: Chromium plumbing for Device Orientation. (Closed)
Patch Set: Fixes after try bot runs Created 10 years, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/device_orientation_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/device_orientation_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698