| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 visibiliy of the viewer has changed. |
| 54 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_VisibilityChanged, | 54 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_VisibilityChanged, |
| 55 bool /* visible */); | 55 bool /* visible */); |
| 56 | 56 |
| 57 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchDown, | 57 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchDown, |
| 58 int32, /* x-coordinate */ | 58 int32, /* x-coordinate */ |
| 59 int32, /* y-coordinate */ | 59 int32, /* y-coordinate */ |
| 60 uint64) /* timestamp */ | 60 uint64, /* timestamp */ |
| 61 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchUp, | 61 uint32) /* pointer_id */ |
| 62 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchUp, |
| 62 int32, /* x-coordinate */ | 63 int32, /* x-coordinate */ |
| 63 int32, /* y-coordinate */ | 64 int32, /* y-coordinate */ |
| 64 uint64) /* timestamp */ | 65 uint64, /* timestamp */ |
| 65 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchMoved, | 66 uint32) /* pointer_id */ |
| 67 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_TouchMoved, |
| 66 int32, /* x-coordinate */ | 68 int32, /* x-coordinate */ |
| 67 int32, /* y-coordinate */ | 69 int32, /* y-coordinate */ |
| 68 uint64) /* timestamp */ | 70 uint64, /* timestamp */ |
| 71 uint32) /* pointer_id */ |
| 69 | 72 |
| 70 // Informs the browser of the result of a file save as operation. | 73 // Informs the browser of the result of a file save as operation. |
| 71 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_FileSaveAsDone, | 74 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_FileSaveAsDone, |
| 72 bool, /* success */ | 75 bool, /* success */ |
| 73 string16, /* filename */ | 76 string16, /* filename */ |
| 74 int) /* filter_index */ | 77 int) /* filter_index */ |
| 75 | 78 |
| 76 // Informs the browser of the result of a file open operation. | 79 // Informs the browser of the result of a file open operation. |
| 77 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_FileOpenDone, | 80 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_FileOpenDone, |
| 78 bool, /* success */ | 81 bool, /* success */ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_DisplayFileSaveAs, | 117 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_DisplayFileSaveAs, |
| 115 MetroViewerHostMsg_SaveAsDialogParams) | 118 MetroViewerHostMsg_SaveAsDialogParams) |
| 116 | 119 |
| 117 // Requests the viewer to display the file open dialog. | 120 // Requests the viewer to display the file open dialog. |
| 118 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_DisplayFileOpen, | 121 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_DisplayFileOpen, |
| 119 string16, /* title */ | 122 string16, /* title */ |
| 120 string16, /* filter */ | 123 string16, /* filter */ |
| 121 string16, /* Default path */ | 124 string16, /* Default path */ |
| 122 bool) /* allow_multi_select */ | 125 bool) /* allow_multi_select */ |
| 123 | 126 |
| OLD | NEW |