| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ |
| 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ | 6 #define CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_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 18 matching lines...) Expand all Loading... |
| 29 void PromptDismissed(JNIEnv* env, jobject obj); | 29 void PromptDismissed(JNIEnv* env, jobject obj); |
| 30 | 30 |
| 31 // CardUnmaskPromptView implementation. | 31 // CardUnmaskPromptView implementation. |
| 32 void ControllerGone() override; | 32 void ControllerGone() override; |
| 33 void DisableAndWaitForVerification() override; | 33 void DisableAndWaitForVerification() override; |
| 34 void GotVerificationResult(bool success) override; | 34 void GotVerificationResult(bool success) override; |
| 35 | 35 |
| 36 static bool Register(JNIEnv* env); | 36 static bool Register(JNIEnv* env); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 virtual ~CardUnmaskPromptViewAndroid(); | 39 ~CardUnmaskPromptViewAndroid() override; |
| 40 | 40 |
| 41 // The corresponding java object. | 41 // The corresponding java object. |
| 42 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 42 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
| 43 | 43 |
| 44 CardUnmaskPromptController* controller_; | 44 CardUnmaskPromptController* controller_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewAndroid); | 46 DISALLOW_COPY_AND_ASSIGN(CardUnmaskPromptViewAndroid); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace autofill | 49 } // namespace autofill |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ | 51 #endif // CHROME_BROWSER_UI_ANDROID_AUTOFILL_CARD_UNMASK_PROMPT_VIEW_ANDROID_H_ |
| OLD | NEW |