| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 uint32, /* scan code */ | 56 uint32, /* scan code */ |
| 57 uint32 /* key state */); | 57 uint32 /* key state */); |
| 58 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, | 58 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, |
| 59 uint32, /* virtual key */ | 59 uint32, /* virtual key */ |
| 60 uint32, /* repeat count */ | 60 uint32, /* repeat count */ |
| 61 uint32, /* scan code */ | 61 uint32, /* scan code */ |
| 62 uint32 /* key state */); | 62 uint32 /* key state */); |
| 63 // Informs the browser that the Metro window has been activated. | 63 // Informs the browser that the Metro window has been activated. |
| 64 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_WindowActivated); | 64 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_WindowActivated); |
| 65 | 65 |
| 66 // Informs the browser that the user has completed an edge gesture. |
| 67 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture) |
| 68 |
| 66 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, | 69 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, |
| 67 int32, /* x-coordinate */ | 70 int32, /* x-coordinate */ |
| 68 int32, /* y-coordinate */ | 71 int32, /* y-coordinate */ |
| 69 uint64, /* timestamp */ | 72 uint64, /* timestamp */ |
| 70 uint32) /* pointer_id */ | 73 uint32) /* pointer_id */ |
| 71 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, | 74 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, |
| 72 int32, /* x-coordinate */ | 75 int32, /* x-coordinate */ |
| 73 int32, /* y-coordinate */ | 76 int32, /* y-coordinate */ |
| 74 uint64, /* timestamp */ | 77 uint64, /* timestamp */ |
| 75 uint32) /* pointer_id */ | 78 uint32) /* pointer_id */ |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 IPC_STRUCT_TRAITS_MEMBER(right) | 218 IPC_STRUCT_TRAITS_MEMBER(right) |
| 216 IPC_STRUCT_TRAITS_MEMBER(bottom) | 219 IPC_STRUCT_TRAITS_MEMBER(bottom) |
| 217 IPC_STRUCT_TRAITS_END() | 220 IPC_STRUCT_TRAITS_END() |
| 218 | 221 |
| 219 // Requests the viewer to update the document context such as attached | 222 // Requests the viewer to update the document context such as attached |
| 220 // InputScopes and character bounds. | 223 // InputScopes and character bounds. |
| 221 IPC_MESSAGE_CONTROL2( | 224 IPC_MESSAGE_CONTROL2( |
| 222 MetroViewerHostMsg_ImeTextInputClientUpdated, | 225 MetroViewerHostMsg_ImeTextInputClientUpdated, |
| 223 std::vector<int32>, /* InputScope enums */ | 226 std::vector<int32>, /* InputScope enums */ |
| 224 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ | 227 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ |
| OLD | NEW |