Home
last modified time | relevance | path

Searched refs:FileSelectHelper (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/
Dfile_select_helper_unittest.cc9 EXPECT_TRUE(FileSelectHelper::IsAcceptTypeValid("a/b")); in TEST()
10 EXPECT_TRUE(FileSelectHelper::IsAcceptTypeValid("abc/def")); in TEST()
11 EXPECT_TRUE(FileSelectHelper::IsAcceptTypeValid("abc/*")); in TEST()
12 EXPECT_TRUE(FileSelectHelper::IsAcceptTypeValid(".a")); in TEST()
13 EXPECT_TRUE(FileSelectHelper::IsAcceptTypeValid(".abc")); in TEST()
15 EXPECT_FALSE(FileSelectHelper::IsAcceptTypeValid(".")); in TEST()
16 EXPECT_FALSE(FileSelectHelper::IsAcceptTypeValid("/")); in TEST()
17 EXPECT_FALSE(FileSelectHelper::IsAcceptTypeValid("ABC/*")); in TEST()
18 EXPECT_FALSE(FileSelectHelper::IsAcceptTypeValid("abc/def ")); in TEST()
Dfile_select_helper.cc66 struct FileSelectHelper::ActiveDirectoryEnumeration {
75 FileSelectHelper::FileSelectHelper(Profile* profile) in FileSelectHelper() function in FileSelectHelper
85 FileSelectHelper::~FileSelectHelper() { in ~FileSelectHelper()
102 void FileSelectHelper::DirectoryListerDispatchDelegate::OnListFile( in OnListFile()
107 void FileSelectHelper::DirectoryListerDispatchDelegate::OnListDone(int error) { in OnListDone()
111 void FileSelectHelper::FileSelected(const base::FilePath& path, in FileSelected()
116 void FileSelectHelper::FileSelectedWithExtraInfo( in FileSelectedWithExtraInfo()
139 void FileSelectHelper::MultiFilesSelected( in MultiFilesSelected()
148 void FileSelectHelper::MultiFilesSelectedWithExtraInfo( in MultiFilesSelectedWithExtraInfo()
162 void FileSelectHelper::FileSelectionCanceled(void* params) { in FileSelectionCanceled()
[all …]
Dfile_select_helper.h33 class FileSelectHelper
34 : public base::RefCountedThreadSafe<FileSelectHelper>,
49 friend class base::RefCountedThreadSafe<FileSelectHelper>;
51 explicit FileSelectHelper(Profile* profile);
52 virtual ~FileSelectHelper();
59 DirectoryListerDispatchDelegate(FileSelectHelper* parent, int id) in DirectoryListerDispatchDelegate()
68 FileSelectHelper* parent_;
164 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper);
/external/chromium/chrome/browser/
Dfile_select_helper.cc37 struct FileSelectHelper::ActiveDirectoryEnumeration {
46 FileSelectHelper::FileSelectHelper(Profile* profile) in FileSelectHelper() function in FileSelectHelper
53 FileSelectHelper::~FileSelectHelper() { in ~FileSelectHelper()
73 void FileSelectHelper::FileSelected(const FilePath& path, in FileSelected()
92 void FileSelectHelper::MultiFilesSelected(const std::vector<FilePath>& files, in MultiFilesSelected()
104 void FileSelectHelper::FileSelectionCanceled(void* params) { in FileSelectionCanceled()
116 void FileSelectHelper::StartNewEnumeration(const FilePath& path, in StartNewEnumeration()
137 void FileSelectHelper::OnListFile( in OnListFile()
151 void FileSelectHelper::OnListDone(int id, int error) { in OnListDone()
167 SelectFileDialog::FileTypeInfo* FileSelectHelper::GetFileTypesFromAcceptType( in GetFileTypesFromAcceptType()
[all …]
Dfile_select_helper.h27 class FileSelectHelper
31 explicit FileSelectHelper(Profile* profile);
32 ~FileSelectHelper();
50 DirectoryListerDispatchDelegate(FileSelectHelper* parent, int id) in DirectoryListerDispatchDelegate()
63 FileSelectHelper* parent_;
120 DISALLOW_COPY_AND_ASSIGN(FileSelectHelper);
139 scoped_ptr<FileSelectHelper> file_select_helper_;
/external/chromium/chrome/browser/extensions/
Dextension_host.h30 class FileSelectHelper; variable
292 scoped_ptr<FileSelectHelper> file_select_helper_;
Dextension_host.cc839 file_select_helper_.reset(new FileSelectHelper(profile())); in OnRunFileChooser()
/external/chromium_org/chrome/browser/ui/apps/
Dchrome_shell_window_delegate.cc134 FileSelectHelper::RunFileChooser(tab, params); in RunFileChooser()
/external/chromium_org/chrome/browser/extensions/
Dextension_view_host.cc239 FileSelectHelper::RunFileChooser(tab, params); in RunFileChooser()
/external/chromium_org/chrome/browser/android/
Dchrome_web_contents_delegate_android.cc99 FileSelectHelper::RunFileChooser(web_contents, params); in RunFileChooser()
/external/chromium/chrome/browser/tab_contents/
Dtab_contents.h98 class FileSelectHelper; variable
1117 scoped_ptr<FileSelectHelper> file_select_helper_;
/external/chromium_org/chrome/browser/ui/views/
Dexternal_tab_container_win.cc986 FileSelectHelper::RunFileChooser(tab, params); in RunFileChooser()
992 FileSelectHelper::EnumerateDirectory(tab, request_id, path); in EnumerateDirectory()
/external/chromium_org/chrome/browser/ui/
Dbrowser.cc1558 FileSelectHelper::RunFileChooser(web_contents, params); in RunFileChooser()
1564 FileSelectHelper::EnumerateDirectory(web_contents, request_id, path); in EnumerateDirectory()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_window.cc978 FileSelectHelper::RunFileChooser(web_contents, params); in RunFileChooser()