OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
brettw
2015/10/21 02:51:03
This is a new file, so use the current year :)
Al
mfomitchev
2015/10/21 22:44:04
Done and done
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "select_file_dialog_auraandroid.h" | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 namespace ui { | |
10 | |
11 // static | |
12 SelectFileDialogImpl* SelectFileDialogImpl::Create(Listener* listener, | |
13 SelectFilePolicy* policy) { | |
14 return new SelectFileDialogImpl(listener, policy); | |
15 } | |
16 | |
17 bool SelectFileDialogImpl::IsRunning(gfx::NativeWindow) const { | |
18 return listener_; | |
19 } | |
20 | |
21 void SelectFileDialogImpl::ListenerDestroyed() { | |
22 listener_ = NULL; | |
23 } | |
24 | |
25 void SelectFileDialogImpl::SelectFileImpl( | |
26 SelectFileDialog::Type type, | |
27 const base::string16& title, | |
28 const base::FilePath& default_path, | |
29 const SelectFileDialog::FileTypeInfo* file_types, | |
30 int file_type_index, | |
31 const std::string& default_extension, | |
32 gfx::NativeWindow owning_window, | |
33 void* params) { | |
34 NOTIMPLEMENTED(); | |
35 } | |
36 | |
37 SelectFileDialogImpl::~SelectFileDialogImpl() { | |
38 } | |
39 | |
40 SelectFileDialogImpl::SelectFileDialogImpl(Listener* listener, | |
41 SelectFilePolicy* policy) | |
42 : SelectFileDialog(listener, policy) { | |
43 } | |
44 | |
45 bool SelectFileDialogImpl::HasMultipleFileTypeChoicesImpl() { | |
46 NOTIMPLEMENTED(); | |
47 return false; | |
48 } | |
49 | |
50 SelectFileDialog* CreateAndroidSelectFileDialog( | |
51 SelectFileDialog::Listener* listener, | |
52 SelectFilePolicy* policy) { | |
53 return SelectFileDialogImpl::Create(listener, policy); | |
54 } | |
55 | |
56 } // namespace ui | |
OLD | NEW |