| 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> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/android/jni_weak_ref.h" | 12 #include "base/android/jni_weak_ref.h" |
| 11 #include "base/android/scoped_java_ref.h" | 13 #include "base/android/scoped_java_ref.h" |
| 14 #include "base/macros.h" |
| 12 #include "chrome/browser/password_manager/password_store_factory.h" | 15 #include "chrome/browser/password_manager/password_store_factory.h" |
| 13 #include "chrome/browser/ui/passwords/password_manager_presenter.h" | 16 #include "chrome/browser/ui/passwords/password_manager_presenter.h" |
| 14 #include "chrome/browser/ui/passwords/password_ui_view.h" | 17 #include "chrome/browser/ui/passwords/password_ui_view.h" |
| 15 #include "components/password_manager/core/browser/password_store.h" | 18 #include "components/password_manager/core/browser/password_store.h" |
| 16 #include "components/password_manager/core/browser/password_store_consumer.h" | 19 #include "components/password_manager/core/browser/password_store_consumer.h" |
| 17 | 20 |
| 18 // PasswordUIView for Android, contains jni hooks that allows Android UI to | 21 // PasswordUIView for Android, contains jni hooks that allows Android UI to |
| 19 // display passwords and route UI commands back to native | 22 // display passwords and route UI commands back to native |
| 20 // PasswordManagerPresenter. | 23 // PasswordManagerPresenter. |
| 21 class PasswordUIViewAndroid : public PasswordUIView { | 24 class PasswordUIViewAndroid : public PasswordUIView { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 67 |
| 65 private: | 68 private: |
| 66 PasswordManagerPresenter password_manager_presenter_; | 69 PasswordManagerPresenter password_manager_presenter_; |
| 67 // Java side of UI controller. | 70 // Java side of UI controller. |
| 68 JavaObjectWeakGlobalRef weak_java_ui_controller_; | 71 JavaObjectWeakGlobalRef weak_java_ui_controller_; |
| 69 | 72 |
| 70 DISALLOW_COPY_AND_ASSIGN(PasswordUIViewAndroid); | 73 DISALLOW_COPY_AND_ASSIGN(PasswordUIViewAndroid); |
| 71 }; | 74 }; |
| 72 | 75 |
| 73 #endif // CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ | 76 #endif // CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ |
| OLD | NEW |