| 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_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 ~PasswordUIViewAndroid() override; | 27 ~PasswordUIViewAndroid() override; |
| 28 | 28 |
| 29 // PasswordUIView implementation. | 29 // PasswordUIView implementation. |
| 30 Profile* GetProfile() override; | 30 Profile* GetProfile() override; |
| 31 void ShowPassword( | 31 void ShowPassword( |
| 32 size_t index, | 32 size_t index, |
| 33 const std::string& origin_url, | 33 const std::string& origin_url, |
| 34 const std::string& username, | 34 const std::string& username, |
| 35 const base::string16& password_value) override; | 35 const base::string16& password_value) override; |
| 36 void SetPasswordList( | 36 void SetPasswordList( |
| 37 const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list, | 37 const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list) |
| 38 bool show_passwords) override; | 38 override; |
| 39 void SetPasswordExceptionList( | 39 void SetPasswordExceptionList( |
| 40 const std::vector<scoped_ptr<autofill::PasswordForm>>& | 40 const std::vector<scoped_ptr<autofill::PasswordForm>>& |
| 41 password_exception_list) override; | 41 password_exception_list) override; |
| 42 | 42 |
| 43 // Calls from Java. | 43 // Calls from Java. |
| 44 base::android::ScopedJavaLocalRef<jobject> GetSavedPasswordEntry( | 44 base::android::ScopedJavaLocalRef<jobject> GetSavedPasswordEntry( |
| 45 JNIEnv* env, | 45 JNIEnv* env, |
| 46 const base::android::JavaParamRef<jobject>&, | 46 const base::android::JavaParamRef<jobject>&, |
| 47 int index); | 47 int index); |
| 48 base::android::ScopedJavaLocalRef<jstring> GetSavedPasswordException( | 48 base::android::ScopedJavaLocalRef<jstring> GetSavedPasswordException( |
| (...skipping 18 matching lines...) Expand all Loading... |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 PasswordManagerPresenter password_manager_presenter_; | 69 PasswordManagerPresenter password_manager_presenter_; |
| 70 // Java side of UI controller. | 70 // Java side of UI controller. |
| 71 JavaObjectWeakGlobalRef weak_java_ui_controller_; | 71 JavaObjectWeakGlobalRef weak_java_ui_controller_; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(PasswordUIViewAndroid); | 73 DISALLOW_COPY_AND_ASSIGN(PasswordUIViewAndroid); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 #endif // CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ | 76 #endif // CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ |
| OLD | NEW |