OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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, so no include guard. | 5 // Multiply-included message file, so no include guard. |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <Windows.h> | 8 #include <Windows.h> |
9 #endif // defined(OS_WIN) | 9 #endif // defined(OS_WIN) |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_StartupPing) | 84 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_StartupPing) |
85 | 85 |
86 #if defined(FULL_SAFE_BROWSING) | 86 #if defined(FULL_SAFE_BROWSING) |
87 // Tells the utility process to analyze a zip file for malicious download | 87 // Tells the utility process to analyze a zip file for malicious download |
88 // protection. | 88 // protection. |
89 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_AnalyzeZipFileForDownloadProtection, | 89 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_AnalyzeZipFileForDownloadProtection, |
90 IPC::PlatformFileForTransit /* zip_file */) | 90 IPC::PlatformFileForTransit /* zip_file */) |
91 #endif | 91 #endif |
92 | 92 |
93 #if defined(OS_WIN) | 93 #if defined(OS_WIN) |
| 94 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_OpenItemViaShell, |
| 95 base::FilePath /* full_path */) |
| 96 |
94 // A vector of filters, each being a Tuple2a display string (i.e. "Text Files") | 97 // A vector of filters, each being a Tuple2a display string (i.e. "Text Files") |
95 // and a filter pattern (i.e. "*.txt").. | 98 // and a filter pattern (i.e. "*.txt").. |
96 typedef std::vector<Tuple2<base::string16, base::string16> > | 99 typedef std::vector<Tuple2<base::string16, base::string16> > |
97 GetOpenFileNameFilter; | 100 GetOpenFileNameFilter; |
98 | 101 |
99 // Instructs the utility process to invoke GetOpenFileName. |owner| is the | 102 // Instructs the utility process to invoke GetOpenFileName. |owner| is the |
100 // parent of the modal dialog, |flags| are OFN_* flags. |filter| constrains the | 103 // parent of the modal dialog, |flags| are OFN_* flags. |filter| constrains the |
101 // user's file choices. |initial_directory| and |filename| select the directory | 104 // user's file choices. |initial_directory| and |filename| select the directory |
102 // to be displayed and the file to be initially selected. | 105 // to be displayed and the file to be initially selected. |
103 // | 106 // |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished, | 157 ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished, |
155 safe_browsing::zip_analyzer::Results) | 158 safe_browsing::zip_analyzer::Results) |
156 #endif | 159 #endif |
157 | 160 |
158 #if defined(OS_WIN) | 161 #if defined(OS_WIN) |
159 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed) | 162 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetOpenFileName_Failed) |
160 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, | 163 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, |
161 base::FilePath /* directory */, | 164 base::FilePath /* directory */, |
162 std::vector<base::FilePath> /* filenames */) | 165 std::vector<base::FilePath> /* filenames */) |
163 #endif // defined(OS_WIN) | 166 #endif // defined(OS_WIN) |
OLD | NEW |