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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyUp, | 54 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyUp, |
55 uint32, /* virtual key */ | 55 uint32, /* virtual key */ |
56 uint32, /* repeat count */ | 56 uint32, /* repeat count */ |
57 uint32, /* scan code */ | 57 uint32, /* scan code */ |
58 uint32 /* key state */); | 58 uint32 /* key state */); |
59 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, | 59 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character, |
60 uint32, /* virtual key */ | 60 uint32, /* virtual key */ |
61 uint32, /* repeat count */ | 61 uint32, /* repeat count */ |
62 uint32, /* scan code */ | 62 uint32, /* scan code */ |
63 uint32 /* key state */); | 63 uint32 /* key state */); |
| 64 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_CharacterForNextKeyEvent, |
| 65 uint32, /* virtual key */); |
64 // Informs the browser that the Metro window has been activated. | 66 // Informs the browser that the Metro window has been activated. |
65 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_WindowActivated, | 67 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_WindowActivated, |
66 bool /* Whether the window should be repainted */); | 68 bool /* Whether the window should be repainted */); |
67 | 69 |
68 // Informs the browser that the user has completed an edge gesture. | 70 // Informs the browser that the user has completed an edge gesture. |
69 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture) | 71 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture) |
70 | 72 |
71 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, | 73 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, |
72 int32, /* x-coordinate */ | 74 int32, /* x-coordinate */ |
73 int32, /* y-coordinate */ | 75 int32, /* y-coordinate */ |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 IPC_STRUCT_TRAITS_MEMBER(right) | 222 IPC_STRUCT_TRAITS_MEMBER(right) |
221 IPC_STRUCT_TRAITS_MEMBER(bottom) | 223 IPC_STRUCT_TRAITS_MEMBER(bottom) |
222 IPC_STRUCT_TRAITS_END() | 224 IPC_STRUCT_TRAITS_END() |
223 | 225 |
224 // Requests the viewer to update the document context such as attached | 226 // Requests the viewer to update the document context such as attached |
225 // InputScopes and character bounds. | 227 // InputScopes and character bounds. |
226 IPC_MESSAGE_CONTROL2( | 228 IPC_MESSAGE_CONTROL2( |
227 MetroViewerHostMsg_ImeTextInputClientUpdated, | 229 MetroViewerHostMsg_ImeTextInputClientUpdated, |
228 std::vector<int32>, /* InputScope enums */ | 230 std::vector<int32>, /* InputScope enums */ |
229 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ | 231 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ |
OLD | NEW |