Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: chrome/common/chrome_utility_messages.h

Issue 352393002: Be explicit about target type in platform_util::OpenItem() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Catch up with changes to JSONStringValueSerializer and address CrOS comment Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/utility/shell_handler_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_StartupPing) 104 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_StartupPing)
105 105
106 #if defined(FULL_SAFE_BROWSING) 106 #if defined(FULL_SAFE_BROWSING)
107 // Tells the utility process to analyze a zip file for malicious download 107 // Tells the utility process to analyze a zip file for malicious download
108 // protection. 108 // protection.
109 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_AnalyzeZipFileForDownloadProtection, 109 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_AnalyzeZipFileForDownloadProtection,
110 IPC::PlatformFileForTransit /* zip_file */) 110 IPC::PlatformFileForTransit /* zip_file */)
111 #endif 111 #endif
112 112
113 #if defined(OS_WIN) 113 #if defined(OS_WIN)
114 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_OpenItemViaShell, 114 // Invokes ui::base::win::OpenFileViaShell from the utility process.
115 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_OpenFileViaShell,
116 base::FilePath /* full_path */)
117
118 // Invokes ui::base::win::OpenFolderViaShell from the utility process.
119 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_OpenFolderViaShell,
115 base::FilePath /* full_path */) 120 base::FilePath /* full_path */)
116 121
117 // Instructs the utility process to invoke GetOpenFileName. |owner| is the 122 // Instructs the utility process to invoke GetOpenFileName. |owner| is the
118 // parent of the modal dialog, |flags| are OFN_* flags. |filter| constrains the 123 // parent of the modal dialog, |flags| are OFN_* flags. |filter| constrains the
119 // user's file choices. |initial_directory| and |filename| select the directory 124 // user's file choices. |initial_directory| and |filename| select the directory
120 // to be displayed and the file to be initially selected. 125 // to be displayed and the file to be initially selected.
121 // 126 //
122 // Either ChromeUtilityHostMsg_GetOpenFileName_Failed or 127 // Either ChromeUtilityHostMsg_GetOpenFileName_Failed or
123 // ChromeUtilityHostMsg_GetOpenFileName_Result will be returned when the 128 // ChromeUtilityHostMsg_GetOpenFileName_Result will be returned when the
124 // operation completes whether due to error or user action. 129 // operation completes whether due to error or user action.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, 193 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result,
189 base::FilePath /* directory */, 194 base::FilePath /* directory */,
190 std::vector<base::FilePath> /* filenames */) 195 std::vector<base::FilePath> /* filenames */)
191 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) 196 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed)
192 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, 197 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result,
193 base::FilePath /* path */, 198 base::FilePath /* path */,
194 int /* one_based_filter_index */) 199 int /* one_based_filter_index */)
195 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, 200 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache,
196 base::FilePath /* cache file path */) 201 base::FilePath /* cache file path */)
197 #endif // defined(OS_WIN) 202 #endif // defined(OS_WIN)
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/utility/shell_handler_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698