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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 // Informs the browser that the Metro window has been activated. | 64 // Informs the browser that the Metro window has been activated. |
65 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_WindowActivated); | 65 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_WindowActivated, |
| 66 bool /* Whether the window should be repainted */); |
66 | 67 |
67 // Informs the browser that the user has completed an edge gesture. | 68 // Informs the browser that the user has completed an edge gesture. |
68 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture) | 69 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture) |
69 | 70 |
70 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, | 71 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, |
71 int32, /* x-coordinate */ | 72 int32, /* x-coordinate */ |
72 int32, /* y-coordinate */ | 73 int32, /* y-coordinate */ |
73 uint64, /* timestamp */ | 74 uint64, /* timestamp */ |
74 uint32) /* pointer_id */ | 75 uint32) /* pointer_id */ |
75 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, | 76 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 IPC_STRUCT_TRAITS_MEMBER(right) | 220 IPC_STRUCT_TRAITS_MEMBER(right) |
220 IPC_STRUCT_TRAITS_MEMBER(bottom) | 221 IPC_STRUCT_TRAITS_MEMBER(bottom) |
221 IPC_STRUCT_TRAITS_END() | 222 IPC_STRUCT_TRAITS_END() |
222 | 223 |
223 // Requests the viewer to update the document context such as attached | 224 // Requests the viewer to update the document context such as attached |
224 // InputScopes and character bounds. | 225 // InputScopes and character bounds. |
225 IPC_MESSAGE_CONTROL2( | 226 IPC_MESSAGE_CONTROL2( |
226 MetroViewerHostMsg_ImeTextInputClientUpdated, | 227 MetroViewerHostMsg_ImeTextInputClientUpdated, |
227 std::vector<int32>, /* InputScope enums */ | 228 std::vector<int32>, /* InputScope enums */ |
228 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ | 229 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ |
OLD | NEW |