OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "select_file_dialog_android.h" | 5 #include "select_file_dialog_android.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/android/jni_array.h" |
8 #include "base/android/jni_string.h" | 9 #include "base/android/jni_string.h" |
9 #include "base/android/jni_array.h" | |
10 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/string_split.h" | |
13 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/strings/string_split.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "jni/SelectFileDialog_jni.h" | 15 #include "jni/SelectFileDialog_jni.h" |
16 #include "ui/gfx/android/window_android.h" | 16 #include "ui/gfx/android/window_android.h" |
17 | 17 |
18 namespace ui { | 18 namespace ui { |
19 | 19 |
20 // static | 20 // static |
21 SelectFileDialogImpl* SelectFileDialogImpl::Create(Listener* listener, | 21 SelectFileDialogImpl* SelectFileDialogImpl::Create(Listener* listener, |
22 ui::SelectFilePolicy* policy) { | 22 ui::SelectFilePolicy* policy) { |
23 return new SelectFileDialogImpl(listener, policy); | 23 return new SelectFileDialogImpl(listener, policy); |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 return false; | 104 return false; |
105 } | 105 } |
106 | 106 |
107 SelectFileDialog* CreateAndroidSelectFileDialog( | 107 SelectFileDialog* CreateAndroidSelectFileDialog( |
108 SelectFileDialog::Listener* listener, | 108 SelectFileDialog::Listener* listener, |
109 SelectFilePolicy* policy) { | 109 SelectFilePolicy* policy) { |
110 return SelectFileDialogImpl::Create(listener, policy); | 110 return SelectFileDialogImpl::Create(listener, policy); |
111 } | 111 } |
112 | 112 |
113 } // namespace ui | 113 } // namespace ui |
OLD | NEW |