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

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

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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/platform_window/android/platform_window_android.cc ('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
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/strings/string_split.h" 12 #include "base/strings/string_split.h"
13 #include "base/strings/string_util.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 #include "ui/shell_dialogs/selected_file_info.h" 17 #include "ui/shell_dialogs/selected_file_info.h"
18 18
19 using base::android::ConvertJavaStringToUTF8; 19 using base::android::ConvertJavaStringToUTF8;
20 using base::android::JavaParamRef;
21 using base::android::ScopedJavaLocalRef;
20 22
21 namespace ui { 23 namespace ui {
22 24
23 // static 25 // static
24 SelectFileDialogImpl* SelectFileDialogImpl::Create(Listener* listener, 26 SelectFileDialogImpl* SelectFileDialogImpl::Create(Listener* listener,
25 SelectFilePolicy* policy) { 27 SelectFilePolicy* policy) {
26 return new SelectFileDialogImpl(listener, policy); 28 return new SelectFileDialogImpl(listener, policy);
27 } 29 }
28 30
29 void SelectFileDialogImpl::OnFileSelected( 31 void SelectFileDialogImpl::OnFileSelected(
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 NOTIMPLEMENTED(); 146 NOTIMPLEMENTED();
145 return false; 147 return false;
146 } 148 }
147 149
148 SelectFileDialog* CreateSelectFileDialog(SelectFileDialog::Listener* listener, 150 SelectFileDialog* CreateSelectFileDialog(SelectFileDialog::Listener* listener,
149 SelectFilePolicy* policy) { 151 SelectFilePolicy* policy) {
150 return SelectFileDialogImpl::Create(listener, policy); 152 return SelectFileDialogImpl::Create(listener, policy);
151 } 153 }
152 154
153 } // namespace ui 155 } // namespace ui
OLDNEW
« no previous file with comments | « ui/platform_window/android/platform_window_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698