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_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... |
23 ~PasswordManagerHandler() override; | 23 ~PasswordManagerHandler() override; |
24 | 24 |
25 // OptionsPageUIHandler implementation. | 25 // OptionsPageUIHandler implementation. |
26 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; | 26 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; |
27 void InitializeHandler() override; | 27 void InitializeHandler() override; |
28 void InitializePage() override; | 28 void InitializePage() override; |
29 void RegisterMessages() override; | 29 void RegisterMessages() override; |
30 | 30 |
31 // PasswordUIView implementation. | 31 // PasswordUIView implementation. |
32 Profile* GetProfile() override; | 32 Profile* GetProfile() override; |
33 void ShowPassword(size_t index, | 33 void ShowPassword( |
34 const base::string16& password_value) override; | 34 size_t index, |
| 35 const std::string& origin_url, |
| 36 const std::string& username, |
| 37 const base::string16& password_value) override; |
35 void SetPasswordList( | 38 void SetPasswordList( |
36 const ScopedVector<autofill::PasswordForm>& password_list, | 39 const ScopedVector<autofill::PasswordForm>& password_list, |
37 bool show_passwords) override; | 40 bool show_passwords) override; |
38 void SetPasswordExceptionList(const ScopedVector<autofill::PasswordForm>& | 41 void SetPasswordExceptionList(const ScopedVector<autofill::PasswordForm>& |
39 password_exception_list) override; | 42 password_exception_list) override; |
40 #if !defined(OS_ANDROID) | 43 #if !defined(OS_ANDROID) |
41 gfx::NativeWindow GetNativeWindow() const override; | 44 gfx::NativeWindow GetNativeWindow() const override; |
42 #endif | 45 #endif |
43 private: | 46 private: |
44 // Clears and then populates the list of passwords and password exceptions. | 47 // Clears and then populates the list of passwords and password exceptions. |
(...skipping 17 matching lines...) Expand all Loading... |
62 | 65 |
63 // The PasswordManagerPresenter object owned by the this view. | 66 // The PasswordManagerPresenter object owned by the this view. |
64 PasswordManagerPresenter password_manager_presenter_; | 67 PasswordManagerPresenter password_manager_presenter_; |
65 | 68 |
66 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); | 69 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); |
67 }; | 70 }; |
68 | 71 |
69 } // namespace options | 72 } // namespace options |
70 | 73 |
71 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 74 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
OLD | NEW |