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_array.h" |
9 #include "base/android/jni_string.h" | 9 #include "base/android/jni_string.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_util.h" | |
13 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
| 13 #include "base/strings/string_util.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "jni/SelectFileDialog_jni.h" | 15 #include "jni/SelectFileDialog_jni.h" |
16 #include "ui/android/window_android.h" | 16 #include "ui/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 SelectFilePolicy* policy) { | 22 SelectFilePolicy* policy) { |
23 return new SelectFileDialogImpl(listener, policy); | 23 return new SelectFileDialogImpl(listener, policy); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 return false; | 108 return false; |
109 } | 109 } |
110 | 110 |
111 SelectFileDialog* CreateAndroidSelectFileDialog( | 111 SelectFileDialog* CreateAndroidSelectFileDialog( |
112 SelectFileDialog::Listener* listener, | 112 SelectFileDialog::Listener* listener, |
113 SelectFilePolicy* policy) { | 113 SelectFilePolicy* policy) { |
114 return SelectFileDialogImpl::Create(listener, policy); | 114 return SelectFileDialogImpl::Create(listener, policy); |
115 } | 115 } |
116 | 116 |
117 } // namespace ui | 117 } // namespace ui |
OLD | NEW |