OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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, no include guard. | 5 // Multiply-included message file, no include guard. |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyUp, | 43 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyUp, |
44 uint32, /* virtual key */ | 44 uint32, /* virtual key */ |
45 uint32, /* repeat count */ | 45 uint32, /* repeat count */ |
46 uint32, /* scan code */ | 46 uint32, /* scan code */ |
47 uint32 /* key state */); | 47 uint32 /* key state */); |
48 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, | 48 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, |
49 uint32, /* virtual key */ | 49 uint32, /* virtual key */ |
50 uint32, /* repeat count */ | 50 uint32, /* repeat count */ |
51 uint32, /* scan code */ | 51 uint32, /* scan code */ |
52 uint32 /* key state */); | 52 uint32 /* key state */); |
53 // Informs the browser that the visibiliy of the viewer has changed. | 53 // Informs the browser that the Metro window has been activated. |
54 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_VisibilityChanged, | 54 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_WindowActivated); |
55 bool /* visible */); | |
56 | 55 |
57 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, | 56 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, |
58 int32, /* x-coordinate */ | 57 int32, /* x-coordinate */ |
59 int32, /* y-coordinate */ | 58 int32, /* y-coordinate */ |
60 uint64, /* timestamp */ | 59 uint64, /* timestamp */ |
61 uint32) /* pointer_id */ | 60 uint32) /* pointer_id */ |
62 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, | 61 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, |
63 int32, /* x-coordinate */ | 62 int32, /* x-coordinate */ |
64 int32, /* y-coordinate */ | 63 int32, /* y-coordinate */ |
65 uint64, /* timestamp */ | 64 uint64, /* timestamp */ |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 string16) /* url */ | 149 string16) /* url */ |
151 | 150 |
152 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SearchRequest, | 151 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SearchRequest, |
153 string16) /* search_string */ | 152 string16) /* search_string */ |
154 | 153 |
155 // Sent from the metro viewer process to the browser process to indicate that | 154 // Sent from the metro viewer process to the browser process to indicate that |
156 // the viewer window size has changed. | 155 // the viewer window size has changed. |
157 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_WindowSizeChanged, | 156 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_WindowSizeChanged, |
158 uint32, /* width */ | 157 uint32, /* width */ |
159 uint32) /* height */ | 158 uint32) /* height */ |
OLD | NEW |