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

Side by Side Diff: ui/shell_dialogs/select_file_dialog_auraandroid.cc

Issue 1409793002: Aura on Android: Stub implementation of SelectFileDialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_snapshot
Patch Set: Addding a missing import. Created 5 years, 1 month 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
« no previous file with comments | « ui/shell_dialogs/select_file_dialog_auraandroid.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
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
OLDNEW
« no previous file with comments | « ui/shell_dialogs/select_file_dialog_auraandroid.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698