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

Side by Side Diff: android_webview/native/aw_web_contents_delegate.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 | « android_webview/native/aw_settings.cc ('k') | android_webview/native/cookie_manager.cc » ('j') | 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 "android_webview/native/aw_web_contents_delegate.h" 5 #include "android_webview/native/aw_web_contents_delegate.h"
6 6
7 #include "android_webview/browser/aw_javascript_dialog_manager.h" 7 #include "android_webview/browser/aw_javascript_dialog_manager.h"
8 #include "android_webview/browser/find_helper.h" 8 #include "android_webview/browser/find_helper.h"
9 #include "android_webview/native/aw_contents.h" 9 #include "android_webview/native/aw_contents.h"
10 #include "android_webview/native/aw_contents_io_thread_client_impl.h" 10 #include "android_webview/native/aw_contents_io_thread_client_impl.h"
(...skipping 16 matching lines...) Expand all
27 #include "content/public/browser/web_contents.h" 27 #include "content/public/browser/web_contents.h"
28 #include "content/public/common/file_chooser_file_info.h" 28 #include "content/public/common/file_chooser_file_info.h"
29 #include "content/public/common/file_chooser_params.h" 29 #include "content/public/common/file_chooser_params.h"
30 #include "content/public/common/media_stream_request.h" 30 #include "content/public/common/media_stream_request.h"
31 #include "jni/AwWebContentsDelegate_jni.h" 31 #include "jni/AwWebContentsDelegate_jni.h"
32 #include "net/base/escape.h" 32 #include "net/base/escape.h"
33 33
34 using base::android::AttachCurrentThread; 34 using base::android::AttachCurrentThread;
35 using base::android::ConvertUTF16ToJavaString; 35 using base::android::ConvertUTF16ToJavaString;
36 using base::android::ConvertUTF8ToJavaString; 36 using base::android::ConvertUTF8ToJavaString;
37 using base::android::JavaParamRef;
37 using base::android::ScopedJavaLocalRef; 38 using base::android::ScopedJavaLocalRef;
38 using content::FileChooserParams; 39 using content::FileChooserParams;
39 using content::WebContents; 40 using content::WebContents;
40 41
41 namespace android_webview { 42 namespace android_webview {
42 43
43 namespace { 44 namespace {
44 45
45 // WARNING: these constants are exposed in the public interface Java side, so 46 // WARNING: these constants are exposed in the public interface Java side, so
46 // must remain in sync with what clients are expecting. 47 // must remain in sync with what clients are expecting.
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 DVLOG(0) << "File Chooser result: mode = " << mode 314 DVLOG(0) << "File Chooser result: mode = " << mode
314 << ", file paths = " << base::JoinString(file_path_str, ":"); 315 << ", file paths = " << base::JoinString(file_path_str, ":");
315 rfh->FilesSelectedInChooser(files, mode); 316 rfh->FilesSelectedInChooser(files, mode);
316 } 317 }
317 318
318 bool RegisterAwWebContentsDelegate(JNIEnv* env) { 319 bool RegisterAwWebContentsDelegate(JNIEnv* env) {
319 return RegisterNativesImpl(env); 320 return RegisterNativesImpl(env);
320 } 321 }
321 322
322 } // namespace android_webview 323 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/aw_settings.cc ('k') | android_webview/native/cookie_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698