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

Side by Side Diff: android_webview/native/aw_autofill_client.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_autofill_client.h" 5 #include "android_webview/native/aw_autofill_client.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_content_browser_client.h" 8 #include "android_webview/browser/aw_content_browser_client.h"
9 #include "android_webview/browser/aw_form_database_service.h" 9 #include "android_webview/browser/aw_form_database_service.h"
10 #include "android_webview/native/aw_contents.h" 10 #include "android_webview/native/aw_contents.h"
(...skipping 10 matching lines...) Expand all
21 #include "components/prefs/pref_service_factory.h" 21 #include "components/prefs/pref_service_factory.h"
22 #include "components/user_prefs/user_prefs.h" 22 #include "components/user_prefs/user_prefs.h"
23 #include "content/public/browser/navigation_entry.h" 23 #include "content/public/browser/navigation_entry.h"
24 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
25 #include "content/public/common/ssl_status.h" 25 #include "content/public/common/ssl_status.h"
26 #include "jni/AwAutofillClient_jni.h" 26 #include "jni/AwAutofillClient_jni.h"
27 #include "ui/gfx/geometry/rect_f.h" 27 #include "ui/gfx/geometry/rect_f.h"
28 28
29 using base::android::AttachCurrentThread; 29 using base::android::AttachCurrentThread;
30 using base::android::ConvertUTF16ToJavaString; 30 using base::android::ConvertUTF16ToJavaString;
31 using base::android::JavaParamRef;
31 using base::android::ScopedJavaLocalRef; 32 using base::android::ScopedJavaLocalRef;
32 using content::WebContents; 33 using content::WebContents;
33 34
34 DEFINE_WEB_CONTENTS_USER_DATA_KEY(android_webview::AwAutofillClient); 35 DEFINE_WEB_CONTENTS_USER_DATA_KEY(android_webview::AwAutofillClient);
35 36
36 namespace android_webview { 37 namespace android_webview {
37 38
38 // Ownership: The native object is created (if autofill enabled) and owned by 39 // Ownership: The native object is created (if autofill enabled) and owned by
39 // AwContents. The native object creates the java peer which handles most 40 // AwContents. The native object creates the java peer which handles most
40 // autofill functionality at the java side. The java peer is owned by Java 41 // autofill functionality at the java side. The java peer is owned by Java
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 253
253 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { 254 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) {
254 NOTIMPLEMENTED(); 255 NOTIMPLEMENTED();
255 } 256 }
256 257
257 bool RegisterAwAutofillClient(JNIEnv* env) { 258 bool RegisterAwAutofillClient(JNIEnv* env) {
258 return RegisterNativesImpl(env); 259 return RegisterNativesImpl(env);
259 } 260 }
260 261
261 } // namespace android_webview 262 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/android_protocol_handler.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698