| Index: ui/shell_dialogs/select_file_dialog_auraandroid.cc
|
| diff --git a/ui/shell_dialogs/select_file_dialog_auraandroid.cc b/ui/shell_dialogs/select_file_dialog_auraandroid.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..185f47ed2caf1ff08ab2a9913b9331a81ebb33c8
|
| --- /dev/null
|
| +++ b/ui/shell_dialogs/select_file_dialog_auraandroid.cc
|
| @@ -0,0 +1,56 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "select_file_dialog_auraandroid.h"
|
| +
|
| +#include "base/logging.h"
|
| +
|
| +namespace ui {
|
| +
|
| +// static
|
| +SelectFileDialogImpl* SelectFileDialogImpl::Create(Listener* listener,
|
| + SelectFilePolicy* policy) {
|
| + return new SelectFileDialogImpl(listener, policy);
|
| +}
|
| +
|
| +bool SelectFileDialogImpl::IsRunning(gfx::NativeWindow) const {
|
| + return listener_;
|
| +}
|
| +
|
| +void SelectFileDialogImpl::ListenerDestroyed() {
|
| + listener_ = NULL;
|
| +}
|
| +
|
| +void SelectFileDialogImpl::SelectFileImpl(
|
| + SelectFileDialog::Type type,
|
| + const base::string16& title,
|
| + const base::FilePath& default_path,
|
| + const SelectFileDialog::FileTypeInfo* file_types,
|
| + int file_type_index,
|
| + const std::string& default_extension,
|
| + gfx::NativeWindow owning_window,
|
| + void* params) {
|
| + NOTIMPLEMENTED();
|
| +}
|
| +
|
| +SelectFileDialogImpl::~SelectFileDialogImpl() {
|
| +}
|
| +
|
| +SelectFileDialogImpl::SelectFileDialogImpl(Listener* listener,
|
| + SelectFilePolicy* policy)
|
| + : SelectFileDialog(listener, policy) {
|
| +}
|
| +
|
| +bool SelectFileDialogImpl::HasMultipleFileTypeChoicesImpl() {
|
| + NOTIMPLEMENTED();
|
| + return false;
|
| +}
|
| +
|
| +SelectFileDialog* CreateAndroidSelectFileDialog(
|
| + SelectFileDialog::Listener* listener,
|
| + SelectFilePolicy* policy) {
|
| + return SelectFileDialogImpl::Create(listener, policy);
|
| +}
|
| +
|
| +} // namespace ui
|
|
|