| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 bool, /* success */ | 98 bool, /* success */ |
| 99 base::FilePath) /* filepath*/ | 99 base::FilePath) /* filepath*/ |
| 100 | 100 |
| 101 // Messages sent from the browser to the viewer: | 101 // Messages sent from the browser to the viewer: |
| 102 | 102 |
| 103 // Requests the viewer to activate desktop mode. | 103 // Requests the viewer to activate desktop mode. |
| 104 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_ActivateDesktop, | 104 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_ActivateDesktop, |
| 105 base::FilePath /* shortcut */, | 105 base::FilePath /* shortcut */, |
| 106 bool /* ash exit */); | 106 bool /* ash exit */); |
| 107 | 107 |
| 108 // Request the viewer to close itself gracefully. |
| 109 IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_MetroExit); |
| 110 |
| 108 // Requests the viewer to open a URL in desktop mode. | 111 // Requests the viewer to open a URL in desktop mode. |
| 109 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_OpenURLOnDesktop, | 112 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_OpenURLOnDesktop, |
| 110 base::FilePath, /* shortcut */ | 113 base::FilePath, /* shortcut */ |
| 111 base::string16 /* url */); | 114 base::string16 /* url */); |
| 112 | 115 |
| 113 // Requests the viewer to change the pointer to a new cursor. | 116 // Requests the viewer to change the pointer to a new cursor. |
| 114 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, | 117 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, |
| 115 int64 /* cursor */); | 118 int64 /* cursor */); |
| 116 | 119 |
| 117 // This structure contains the parameters sent to the viewer process to display | 120 // This structure contains the parameters sent to the viewer process to display |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 IPC_STRUCT_TRAITS_MEMBER(right) | 214 IPC_STRUCT_TRAITS_MEMBER(right) |
| 212 IPC_STRUCT_TRAITS_MEMBER(bottom) | 215 IPC_STRUCT_TRAITS_MEMBER(bottom) |
| 213 IPC_STRUCT_TRAITS_END() | 216 IPC_STRUCT_TRAITS_END() |
| 214 | 217 |
| 215 // Requests the viewer to update the document context such as attached | 218 // Requests the viewer to update the document context such as attached |
| 216 // InputScopes and character bounds. | 219 // InputScopes and character bounds. |
| 217 IPC_MESSAGE_CONTROL2( | 220 IPC_MESSAGE_CONTROL2( |
| 218 MetroViewerHostMsg_ImeTextInputClientUpdated, | 221 MetroViewerHostMsg_ImeTextInputClientUpdated, |
| 219 std::vector<int32>, /* InputScope enums */ | 222 std::vector<int32>, /* InputScope enums */ |
| 220 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ | 223 std::vector<metro_viewer::CharacterBounds>) /* character bounds */ |
| OLD | NEW |