Home
last modified time | relevance | path

Searched refs:save_as (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/content/shell/browser/
Dshell_download_manager_delegate.cc156 OPENFILENAME save_as; in ChooseDownloadPath() local
157 ZeroMemory(&save_as, sizeof(save_as)); in ChooseDownloadPath()
158 save_as.lStructSize = sizeof(OPENFILENAME); in ChooseDownloadPath()
159 save_as.hwndOwner = item->GetWebContents()->GetView()->GetNativeView(); in ChooseDownloadPath()
160 save_as.lpstrFile = file_name; in ChooseDownloadPath()
161 save_as.nMaxFile = arraysize(file_name); in ChooseDownloadPath()
167 save_as.lpstrInitialDir = directory.c_str(); in ChooseDownloadPath()
168 save_as.Flags = OFN_OVERWRITEPROMPT | OFN_EXPLORER | OFN_ENABLESIZING | in ChooseDownloadPath()
171 if (GetSaveFileName(&save_as)) in ChooseDownloadPath()
172 result = base::FilePath(std::wstring(save_as.lpstrFile)); in ChooseDownloadPath()
/external/chromium/chrome/browser/ui/views/
Dshell_dialogs_win.cc254 OPENFILENAME save_as; in SaveFileAsWithFilter() local
257 ZeroMemory(&save_as, sizeof(save_as)); in SaveFileAsWithFilter()
258 save_as.lStructSize = sizeof(OPENFILENAME); in SaveFileAsWithFilter()
259 save_as.hwndOwner = owner; in SaveFileAsWithFilter()
260 save_as.hInstance = NULL; in SaveFileAsWithFilter()
262 save_as.lpstrFilter = filter.empty() ? NULL : filter.c_str(); in SaveFileAsWithFilter()
264 save_as.lpstrCustomFilter = NULL; in SaveFileAsWithFilter()
265 save_as.nMaxCustFilter = 0; in SaveFileAsWithFilter()
266 save_as.nFilterIndex = *index; in SaveFileAsWithFilter()
267 save_as.lpstrFile = file_name; in SaveFileAsWithFilter()
[all …]
/external/chromium_org/ui/shell_dialogs/
Dselect_file_dialog_win.cc287 OPENFILENAME save_as; in SaveFileAsWithFilter() local
290 ZeroMemory(&save_as, sizeof(save_as)); in SaveFileAsWithFilter()
291 save_as.lStructSize = sizeof(OPENFILENAME); in SaveFileAsWithFilter()
292 save_as.hwndOwner = owner; in SaveFileAsWithFilter()
293 save_as.hInstance = NULL; in SaveFileAsWithFilter()
295 save_as.lpstrFilter = filter.empty() ? NULL : filter.c_str(); in SaveFileAsWithFilter()
297 save_as.lpstrCustomFilter = NULL; in SaveFileAsWithFilter()
298 save_as.nMaxCustFilter = 0; in SaveFileAsWithFilter()
299 save_as.nFilterIndex = *index; in SaveFileAsWithFilter()
300 save_as.lpstrFile = file_name; in SaveFileAsWithFilter()
[all …]
/external/chromium_org/ppapi/thunk/
Dppb_file_chooser_trusted_thunk.cc24 PP_Bool save_as, in ShowWithoutUserGesture_0_5() argument
32 save_as, in ShowWithoutUserGesture_0_5()
38 PP_Bool save_as, in ShowWithoutUserGesture() argument
47 save_as, in ShowWithoutUserGesture()
Dppb_file_chooser_api.h26 PP_Bool save_as,
37 PP_Bool save_as,
/external/chromium_org/ppapi/proxy/
Dfile_chooser_resource.cc41 PP_Bool save_as, in ShowWithoutUserGesture() argument
45 int32_t result = ShowInternal(save_as, suggested_file_name, callback); in ShowWithoutUserGesture()
68 PP_Bool save_as, in ShowWithoutUserGesture0_5() argument
71 return ShowInternal(save_as, suggested_file_name, callback); in ShowWithoutUserGesture0_5()
132 PP_Bool save_as, in ShowInternal() argument
145 PP_ToBool(save_as), in ShowInternal()
Dfile_chooser_resource.h41 PP_Bool save_as,
48 PP_Bool save_as,
61 int32_t ShowInternal(PP_Bool save_as,
/external/chromium_org/ppapi/c/trusted/
Dppb_file_chooser_trusted.h55 PP_Bool save_as,
65 PP_Bool save_as,
/external/chromium_org/ppapi/api/trusted/
Dppb_file_chooser_trusted.idl28 * @param[in] save_as A <code>PP_Bool</code> value indicating if this dialog
41 [in] PP_Bool save_as,
53 * @param[in] save_as A <code>PP_Bool</code> value indicating if this dialog
66 [in] PP_Bool save_as,
/external/chromium_org/ppapi/cpp/trusted/
Dfile_chooser_trusted.cc34 bool save_as, in FileChooser_Trusted() argument
37 save_as_(save_as), in FileChooser_Trusted()
Dfile_chooser_trusted.h22 bool save_as,
/external/chromium/chrome/browser/renderer_host/
Ddownload_resource_handler.cc34 bool save_as, in DownloadResourceHandler() argument
42 save_as_(save_as), in DownloadResourceHandler()
Ddownload_resource_handler.h35 bool save_as,
/external/chromium_org/content/renderer/pepper/
Dpepper_file_chooser_host.cc135 bool save_as, in OnShow() argument
149 if (save_as) { in OnShow()
Dpepper_file_chooser_host.h53 bool save_as,
/external/chromium_org/chrome/browser/devtools/
Ddevtools_embedder_message_dispatcher.h37 bool save_as) = 0;
Ddevtools_file_helper.h60 bool save_as,
Ddevtools_file_helper.cc223 bool save_as, in Save() argument
227 if (it != saved_files_.end() && !save_as) { in Save()
Ddevtools_window.h288 bool save_as) OVERRIDE;
Ddevtools_window.cc1137 bool save_as) { in SaveToFile() argument
1138 file_helper_->Save(url, content, save_as, in SaveToFile()
/external/chromium/chrome/browser/download/
Ddownload_item.h272 bool save_as() const { return save_as_; } in save_as() function
Ddownload_manager_unittest.cc119 bool save_as; member
309 info->prompt_user_for_save_location = kStartDownloadCases[i].save_as; in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/downloads/
Ddownloads_api.cc1000 if (options.save_as.get()) in RunImpl()
1001 download_params->set_prompt(*options.save_as.get()); in RunImpl()