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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerAndroid.java

Issue 1263053002: Move JNI annotations to annotations package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 package org.chromium.chrome.browser.autofill; 5 package org.chromium.chrome.browser.autofill;
6 6
7 import org.chromium.base.CalledByNative;
8 import org.chromium.base.JNINamespace;
9 import org.chromium.base.VisibleForTesting; 7 import org.chromium.base.VisibleForTesting;
8 import org.chromium.base.annotations.CalledByNative;
9 import org.chromium.base.annotations.JNINamespace;
10 import org.chromium.ui.base.WindowAndroid; 10 import org.chromium.ui.base.WindowAndroid;
11 11
12 /** 12 /**
13 * Java-side AutofillDialog and AutofillDialogFactory interfaces, and 13 * Java-side AutofillDialog and AutofillDialogFactory interfaces, and
14 * JNI glue for C++ AutofillDialogControllerAndroid. 14 * JNI glue for C++ AutofillDialogControllerAndroid.
15 */ 15 */
16 @JNINamespace("autofill") 16 @JNINamespace("autofill")
17 public class AutofillDialogControllerAndroid { 17 public class AutofillDialogControllerAndroid {
18 private static AutofillDialogFactory sDialogFactory; 18 private static AutofillDialogFactory sDialogFactory;
19 19
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 205 }
206 206
207 // Calls from Java to C++ AutofillDialogControllerAndroid: 207 // Calls from Java to C++ AutofillDialogControllerAndroid:
208 208
209 private native void nativeDialogCancel(long nativeAutofillDialogControllerAn droid); 209 private native void nativeDialogCancel(long nativeAutofillDialogControllerAn droid);
210 private native void nativeDialogContinue(long nativeAutofillDialogController Android, 210 private native void nativeDialogContinue(long nativeAutofillDialogController Android,
211 Object fullWallet, 211 Object fullWallet,
212 boolean lastUsedChoiceIsAutofill, String lastUsedAccountName, 212 boolean lastUsedChoiceIsAutofill, String lastUsedAccountName,
213 String guidLastUsedBilling, String guidLastUsedShipping, String guid LastUsedCard); 213 String guidLastUsedBilling, String guidLastUsedShipping, String guid LastUsedCard);
214 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698