HomeSort by relevance Sort by last modified time
    Searched refs:file_type_info (Results 1 - 19 of 19) sorted by null

  /external/chromium_org/chrome/browser/extensions/api/file_system/
file_system_api_unittest.cc 62 ui::SelectFileDialog::FileTypeInfo file_type_info; local
64 FileSystemChooseEntryFunction::BuildFileTypeInfo(&file_type_info,
66 EXPECT_TRUE(file_type_info.include_all_files);
67 EXPECT_TRUE(file_type_info.extensions.empty());
70 file_type_info = ui::SelectFileDialog::FileTypeInfo();
75 FileSystemChooseEntryFunction::BuildFileTypeInfo(&file_type_info,
77 EXPECT_FALSE(file_type_info.include_all_files);
78 ASSERT_EQ(file_type_info.extensions.size(), (size_t) 1);
79 EXPECT_TRUE(file_type_info.extension_description_overrides[0].empty()) <<
86 CheckExtensions(expectedTypes, file_type_info.extensions[0])
    [all...]
file_system_api.h 135 ui::SelectFileDialog::FileTypeInfo* file_type_info,
148 void ShowPicker(const ui::SelectFileDialog::FileTypeInfo& file_type_info,
file_system_api.cc 429 const ui::SelectFileDialog::FileTypeInfo& file_type_info,
474 &file_type_info,
536 const ui::SelectFileDialog::FileTypeInfo& file_type_info,
564 this, web_contents, initial_path_, file_type_info, picker_type);
765 ui::SelectFileDialog::FileTypeInfo* file_type_info,
769 file_type_info->include_all_files = true;
771 file_type_info->include_all_files = *acceptsAllTypes;
773 bool need_suggestion = !file_type_info->include_all_files &&
786 file_type_info->extensions.push_back(extensions);
787 file_type_info->extension_description_overrides.push_back(description)
829 ui::SelectFileDialog::FileTypeInfo file_type_info; local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
certificate_dialogs.cc 162 SelectFileDialog::FileTypeInfo file_type_info; local
163 file_type_info.extensions.resize(5);
164 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("pem"));
165 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("crt"));
166 file_type_info.extension_description_overrides.push_back(
168 file_type_info.extensions[1].push_back(FILE_PATH_LITERAL("pem"));
169 file_type_info.extensions[1].push_back(FILE_PATH_LITERAL("crt"));
170 file_type_info.extension_description_overrides.push_back(
172 file_type_info.extensions[2].push_back(FILE_PATH_LITERAL("der"));
173 file_type_info.extension_description_overrides.push_back
    [all...]
  /external/chromium_org/chrome/browser/download/
save_package_file_picker.cc 125 ui::SelectFileDialog::FileTypeInfo file_type_info; local
128 file_type_info.support_drive = true;
155 file_type_info.extensions.resize(kNumberExtensions);
156 file_type_info.extension_description_overrides.resize(kNumberExtensions);
159 // file_type_info.extensions are 0-based. Hence the '-1's.
163 file_type_info.extension_description_overrides[
166 file_type_info.extensions[kSelectFileHtmlOnlyIndex - 1].push_back(
168 file_type_info.extensions[kSelectFileHtmlOnlyIndex - 1].push_back(
171 file_type_info.extensions[kSelectFileHtmlOnlyIndex - 1].push_back(
175 file_type_info.extension_description_overrides
    [all...]
download_file_picker.cc 71 ui::SelectFileDialog::FileTypeInfo file_type_info; local
77 file_type_info.extensions.resize(1);
78 file_type_info.extensions[0].push_back(extension);
80 file_type_info.include_all_files = true;
81 file_type_info.support_drive = true;
89 &file_type_info,
  /external/chromium/chrome/browser/ui/webui/options/chromeos/
change_picture_options_handler.cc 30 SelectFileDialog::FileTypeInfo file_type_info; local
31 file_type_info.extensions.resize(5);
33 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("bmp"));
35 file_type_info.extensions[1].push_back(FILE_PATH_LITERAL("gif"));
37 file_type_info.extensions[2].push_back(FILE_PATH_LITERAL("jpg"));
38 file_type_info.extensions[2].push_back(FILE_PATH_LITERAL("jpeg"));
40 file_type_info.extensions[3].push_back(FILE_PATH_LITERAL("png"));
42 file_type_info.extensions[4].push_back(FILE_PATH_LITERAL("tif"));
43 file_type_info.extensions[4].push_back(FILE_PATH_LITERAL("tiff"));
45 return file_type_info;
99 static SelectFileDialog::FileTypeInfo file_type_info = local
    [all...]
  /external/chromium_org/chrome/browser/ui/
certificate_dialogs.cc 149 ui::SelectFileDialog::FileTypeInfo file_type_info; local
150 file_type_info.extensions.resize(5);
151 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("pem"));
152 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("crt"));
153 file_type_info.extension_description_overrides.push_back(
155 file_type_info.extensions[1].push_back(FILE_PATH_LITERAL("pem"));
156 file_type_info.extensions[1].push_back(FILE_PATH_LITERAL("crt"));
157 file_type_info.extension_description_overrides.push_back(
159 file_type_info.extensions[2].push_back(FILE_PATH_LITERAL("der"));
160 file_type_info.extension_description_overrides.push_back
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/options/chromeos/
change_picture_options_handler.cc 49 ui::SelectFileDialog::FileTypeInfo file_type_info; local
50 file_type_info.extensions.resize(1);
52 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("bmp"));
54 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("jpg"));
55 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("jpeg"));
57 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("png"));
59 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("tif"));
60 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("tiff"));
62 file_type_info.extension_description_overrides.resize(1);
63 file_type_info.extension_description_overrides[0]
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/options/
import_data_handler.cc 234 ui::SelectFileDialog::FileTypeInfo file_type_info; local
235 file_type_info.extensions.resize(1);
236 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("html"));
244 &file_type_info,
certificate_manager_handler.cc 602 ui::SelectFileDialog::FileTypeInfo file_type_info; local
603 file_type_info.extensions.resize(1);
604 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("p12"));
605 file_type_info.extension_description_overrides.push_back(
607 file_type_info.include_all_files = true;
612 base::FilePath(), &file_type_info, 1, FILE_PATH_LITERAL("p12"),
686 ui::SelectFileDialog::FileTypeInfo file_type_info; local
694 file_type_info.extensions.resize(1);
695 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("p12"));
696 file_type_info.extension_description_overrides.push_back
    [all...]
  /external/chromium/chrome/browser/download/
save_package.cc 1327 SelectFileDialog::FileTypeInfo file_type_info; local
    [all...]
download_manager.cc 437 SelectFileDialog::FileTypeInfo file_type_info; local
438 file_type_info.extensions.resize(1);
439 file_type_info.extensions[0].push_back(info->suggested_path.Extension());
440 if (!file_type_info.extensions[0][0].empty())
441 file_type_info.extensions[0][0].erase(0, 1); // drop the .
442 file_type_info.include_all_files = true;
448 &file_type_info, 0, FILE_PATH_LITERAL(""),
    [all...]
  /external/chromium/chrome/browser/ui/webui/
print_preview_handler.cc 328 SelectFileDialog::FileTypeInfo file_type_info; local
329 file_type_info.extensions.resize(1);
330 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("pdf"));
349 &file_type_info,
  /external/chromium/chrome/browser/ui/webui/options/
certificate_manager_handler.cc 519 SelectFileDialog::FileTypeInfo file_type_info; local
520 file_type_info.extensions.resize(1);
521 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("p12"));
522 file_type_info.extension_description_overrides.push_back(
524 file_type_info.include_all_files = true;
528 FilePath(), &file_type_info, 1, FILE_PATH_LITERAL("p12"),
600 SelectFileDialog::FileTypeInfo file_type_info; local
608 file_type_info.extensions.resize(1);
609 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("p12"));
610 file_type_info.extension_description_overrides.push_back
    [all...]
  /external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
file_browser_handler_api.cc 74 ui::SelectFileDialog::FileTypeInfo file_type_info; local
84 file_type_info.extensions.push_back(inner_vector);
87 return file_type_info;
  /external/chromium/chrome/browser/extensions/
extension_bookmarks_module.cc 854 SelectFileDialog::FileTypeInfo file_type_info; local
855 file_type_info.extensions.resize(1);
856 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("html"));
867 &file_type_info,
  /external/chromium_org/chrome/browser/extensions/api/bookmarks/
bookmarks_api.cc 918 ui::SelectFileDialog::FileTypeInfo file_type_info; local
919 file_type_info.extensions.resize(1);
920 file_type_info.extensions[0].push_back(FILE_PATH_LITERAL("html"));
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/print_preview/
print_preview_handler.cc 1196 ui::SelectFileDialog::FileTypeInfo file_type_info; local
    [all...]

Completed in 231 milliseconds