| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 bool, /* success */ | 85 bool, /* success */ |
| 86 std::vector<base::FilePath>) /* filenames */ | 86 std::vector<base::FilePath>) /* filenames */ |
| 87 | 87 |
| 88 // Informs the browser of the result of a select folder operation. | 88 // Informs the browser of the result of a select folder operation. |
| 89 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_SelectFolderDone, | 89 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_SelectFolderDone, |
| 90 bool, /* success */ | 90 bool, /* success */ |
| 91 base::FilePath) /* filepath*/ | 91 base::FilePath) /* filepath*/ |
| 92 | 92 |
| 93 // Messages sent from the browser to the viewer: | 93 // Messages sent from the browser to the viewer: |
| 94 | 94 |
| 95 // Requests the viewer to open a URL in desktop mode. |
| 96 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_OpenURLOnDesktop, |
| 97 base::FilePath, /* shortcut */ |
| 98 string16 /* url */); |
| 99 |
| 95 // Requests the viewer to change the pointer to a new cursor. | 100 // Requests the viewer to change the pointer to a new cursor. |
| 96 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, | 101 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, |
| 97 int64 /* cursor */); | 102 int64 /* cursor */); |
| 98 | 103 |
| 99 // This structure contains the parameters sent to the viewer process to display | 104 // This structure contains the parameters sent to the viewer process to display |
| 100 // the file save dialog. | 105 // the file save dialog. |
| 101 IPC_STRUCT_BEGIN(MetroViewerHostMsg_SaveAsDialogParams) | 106 IPC_STRUCT_BEGIN(MetroViewerHostMsg_SaveAsDialogParams) |
| 102 | 107 |
| 103 // The title of the file save dialog if any. | 108 // The title of the file save dialog if any. |
| 104 IPC_STRUCT_MEMBER(string16, title) | 109 IPC_STRUCT_MEMBER(string16, title) |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 string16) /* url */ | 155 string16) /* url */ |
| 151 | 156 |
| 152 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SearchRequest, | 157 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SearchRequest, |
| 153 string16) /* search_string */ | 158 string16) /* search_string */ |
| 154 | 159 |
| 155 // Sent from the metro viewer process to the browser process to indicate that | 160 // Sent from the metro viewer process to the browser process to indicate that |
| 156 // the viewer window size has changed. | 161 // the viewer window size has changed. |
| 157 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_WindowSizeChanged, | 162 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_WindowSizeChanged, |
| 158 uint32, /* width */ | 163 uint32, /* width */ |
| 159 uint32) /* height */ | 164 uint32) /* height */ |
| OLD | NEW |