Index: chrome/common/render_messages_internal.h |
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h |
index 95389c468d4d0666c7851f6014af2167ff29a099..3484d300475a7953c89103cbe8de5f1f48f3afa2 100644 |
--- a/chrome/common/render_messages_internal.h |
+++ b/chrome/common/render_messages_internal.h |
@@ -990,6 +990,10 @@ IPC_BEGIN_MESSAGES(View) |
// ViewHostMsg_SpeechInput_StartRecognition. |
IPC_MESSAGE_ROUTED0(ViewMsg_SpeechInput_RecognitionComplete) |
+ // Notification that the device's orientation has changed. |
+ IPC_MESSAGE_ROUTED1(ViewMsg_DeviceOrientationUpdated, |
+ ViewMsg_DeviceOrientationUpdated_Params) |
+ |
IPC_END_MESSAGES(View) |
@@ -2583,4 +2587,15 @@ IPC_BEGIN_MESSAGES(ViewHost) |
IPC_MESSAGE_CONTROL1(ViewHostMsg_SpeechInput_StopRecording, |
int /* render_view_id */) |
+ //--------------------------------------------------------------------------- |
+ // Device orientation services messages: |
+ |
+ // A RenderView requests to start receiving device orientation updates. |
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating, |
+ int /* render_view_id */) |
+ |
+ // A RenderView requests to stop receiving device orientation updates. |
+ IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, |
+ int /* render_view_id */) |
+ |
IPC_END_MESSAGES(ViewHost) |