| 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 14 matching lines...) Expand all Loading... |
| 25 // Creates an instance of the AutofillDialogControllerAndroid. | 25 // Creates an instance of the AutofillDialogControllerAndroid. |
| 26 static base::WeakPtr<AutofillDialogController> Create( | 26 static base::WeakPtr<AutofillDialogController> Create( |
| 27 content::WebContents* contents, | 27 content::WebContents* contents, |
| 28 const FormData& form_structure, | 28 const FormData& form_structure, |
| 29 const GURL& source_url, | 29 const GURL& source_url, |
| 30 const AutofillClient::ResultCallback& callback); | 30 const AutofillClient::ResultCallback& callback); |
| 31 | 31 |
| 32 virtual ~AutofillDialogControllerAndroid(); | 32 virtual ~AutofillDialogControllerAndroid(); |
| 33 | 33 |
| 34 // AutofillDialogController implementation: | 34 // AutofillDialogController implementation: |
| 35 virtual void Show() OVERRIDE; | 35 virtual void Show() override; |
| 36 virtual void Hide() OVERRIDE; | 36 virtual void Hide() override; |
| 37 virtual void TabActivated() OVERRIDE; | 37 virtual void TabActivated() override; |
| 38 | 38 |
| 39 // JNI bindings for Java-side AutofillDialogDelegate: | 39 // JNI bindings for Java-side AutofillDialogDelegate: |
| 40 void DialogCancel(JNIEnv* env, jobject obj); | 40 void DialogCancel(JNIEnv* env, jobject obj); |
| 41 void DialogContinue(JNIEnv* env, | 41 void DialogContinue(JNIEnv* env, |
| 42 jobject obj, | 42 jobject obj, |
| 43 jobject full_wallet, | 43 jobject full_wallet, |
| 44 jboolean last_used_choice_is_autofill, | 44 jboolean last_used_choice_is_autofill, |
| 45 jstring last_used_account_name, | 45 jstring last_used_account_name, |
| 46 jstring last_used_billing, | 46 jstring last_used_billing, |
| 47 jstring last_used_shipping, | 47 jstring last_used_shipping, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 base::WeakPtrFactory<AutofillDialogControllerAndroid> | 103 base::WeakPtrFactory<AutofillDialogControllerAndroid> |
| 104 weak_ptr_factory_; | 104 weak_ptr_factory_; |
| 105 | 105 |
| 106 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid); | 106 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerAndroid); |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 } // namespace autofill | 109 } // namespace autofill |
| 110 | 110 |
| 111 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID
_H_ | 111 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_ANDROID
_H_ |
| OLD | NEW |