| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 string16, /* filename */ | 73 string16, /* filename */ |
| 74 int) /* filter_index */ | 74 int) /* filter_index */ |
| 75 | 75 |
| 76 // Informs the browser of the result of a file open operation. | 76 // Informs the browser of the result of a file open operation. |
| 77 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_FileOpenDone, | 77 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_FileOpenDone, |
| 78 bool, /* success */ | 78 bool, /* success */ |
| 79 string16) /* filename */ | 79 string16) /* filename */ |
| 80 | 80 |
| 81 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_MultiFileOpenDone, | 81 IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_MultiFileOpenDone, |
| 82 bool, /* success */ | 82 bool, /* success */ |
| 83 std::vector<FilePath>) /* filenames */ | 83 std::vector<base::FilePath>) /* filenames */ |
| 84 | 84 |
| 85 | 85 |
| 86 // Messages sent from the browser to the viewer: | 86 // Messages sent from the browser to the viewer: |
| 87 | 87 |
| 88 // Requests the viewer to change the pointer to a new cursor. | 88 // Requests the viewer to change the pointer to a new cursor. |
| 89 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, | 89 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor, |
| 90 int64 /* cursor */); | 90 int64 /* cursor */); |
| 91 | 91 |
| 92 // This structure contains the parameters sent to the viewer process to display | 92 // This structure contains the parameters sent to the viewer process to display |
| 93 // the file save dialog. | 93 // the file save dialog. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 114 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_DisplayFileSaveAs, | 114 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_DisplayFileSaveAs, |
| 115 MetroViewerHostMsg_SaveAsDialogParams) | 115 MetroViewerHostMsg_SaveAsDialogParams) |
| 116 | 116 |
| 117 // Requests the viewer to display the file open dialog. | 117 // Requests the viewer to display the file open dialog. |
| 118 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_DisplayFileOpen, | 118 IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_DisplayFileOpen, |
| 119 string16, /* title */ | 119 string16, /* title */ |
| 120 string16, /* filter */ | 120 string16, /* filter */ |
| 121 string16, /* Default path */ | 121 string16, /* Default path */ |
| 122 bool) /* allow_multi_select */ | 122 bool) /* allow_multi_select */ |
| 123 | 123 |
| OLD | NEW |