| OLD | NEW | 
|    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 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ |    5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ | 
|    6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ |    6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID_H_ | 
|    7  |    7  | 
|    8 #include <jni.h> |    8 #include <jni.h> | 
|    9  |    9  | 
|   10 #include "base/android/jni_string.h" |   10 #include "base/android/jni_string.h" | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|   31       const AutofillClient::ResultCallback& callback); |   31       const AutofillClient::ResultCallback& callback); | 
|   32  |   32  | 
|   33   ~AutofillDialogControllerAndroid() override; |   33   ~AutofillDialogControllerAndroid() override; | 
|   34  |   34  | 
|   35   // AutofillDialogController implementation: |   35   // AutofillDialogController implementation: | 
|   36   void Show() override; |   36   void Show() override; | 
|   37   void Hide() override; |   37   void Hide() override; | 
|   38   void TabActivated() override; |   38   void TabActivated() override; | 
|   39  |   39  | 
|   40   // JNI bindings for Java-side AutofillDialogDelegate: |   40   // JNI bindings for Java-side AutofillDialogDelegate: | 
|   41   void DialogCancel(JNIEnv* env, jobject obj); |   41   void DialogCancel(JNIEnv* env, | 
|   42   void DialogContinue(JNIEnv* env, |   42                     const base::android::JavaParamRef<jobject>& obj); | 
|   43                       jobject obj, |   43   void DialogContinue( | 
|   44                       jobject full_wallet, |   44       JNIEnv* env, | 
|   45                       jboolean last_used_choice_is_autofill, |   45       const base::android::JavaParamRef<jobject>& obj, | 
|   46                       jstring last_used_account_name, |   46       const base::android::JavaParamRef<jobject>& full_wallet, | 
|   47                       jstring last_used_billing, |   47       jboolean last_used_choice_is_autofill, | 
|   48                       jstring last_used_shipping, |   48       const base::android::JavaParamRef<jstring>& last_used_account_name, | 
|   49                       jstring last_used_credit_card); |   49       const base::android::JavaParamRef<jstring>& last_used_billing, | 
 |   50       const base::android::JavaParamRef<jstring>& last_used_shipping, | 
 |   51       const base::android::JavaParamRef<jstring>& last_used_credit_card); | 
|   50  |   52  | 
|   51   // Establishes JNI bindings. |   53   // Establishes JNI bindings. | 
|   52   static bool RegisterAutofillDialogControllerAndroid(JNIEnv* env); |   54   static bool RegisterAutofillDialogControllerAndroid(JNIEnv* env); | 
|   53  |   55  | 
|   54  private: |   56  private: | 
|   55   AutofillDialogControllerAndroid( |   57   AutofillDialogControllerAndroid( | 
|   56       content::WebContents* contents, |   58       content::WebContents* contents, | 
|   57       const FormData& form_structure, |   59       const FormData& form_structure, | 
|   58       const GURL& source_url, |   60       const GURL& source_url, | 
|   59       const AutofillClient::ResultCallback& callback); |   61       const AutofillClient::ResultCallback& callback); | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   98  |  100  | 
|   99   base::WeakPtrFactory<AutofillDialogControllerAndroid> |  101   base::WeakPtrFactory<AutofillDialogControllerAndroid> | 
|  100       weak_ptr_factory_; |  102       weak_ptr_factory_; | 
|  101  |  103  | 
|  102   DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid); |  104   DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid); | 
|  103 }; |  105 }; | 
|  104  |  106  | 
|  105 }  // namespace autofill |  107 }  // namespace autofill | 
|  106  |  108  | 
|  107 #endif  // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID
     _H_ |  109 #endif  // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID
     _H_ | 
| OLD | NEW |