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 COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI
VER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "components/password_manager/core/browser/password_autofill_manager.h" | 10 #include "components/password_manager/core/browser/password_autofill_manager.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 static ContentPasswordManagerDriver* GetForRenderFrameHost( | 43 static ContentPasswordManagerDriver* GetForRenderFrameHost( |
44 content::RenderFrameHost* render_frame_host); | 44 content::RenderFrameHost* render_frame_host); |
45 | 45 |
46 // PasswordManagerDriver implementation. | 46 // PasswordManagerDriver implementation. |
47 void FillPasswordForm( | 47 void FillPasswordForm( |
48 const autofill::PasswordFormFillData& form_data) override; | 48 const autofill::PasswordFormFillData& form_data) override; |
49 void AllowPasswordGenerationForForm( | 49 void AllowPasswordGenerationForForm( |
50 const autofill::PasswordForm& form) override; | 50 const autofill::PasswordForm& form) override; |
51 void AccountCreationFormsFound( | 51 void AccountCreationFormsFound( |
52 const std::vector<autofill::FormData>& forms) override; | 52 const std::vector<autofill::FormData>& forms) override; |
| 53 void AutofillDataReceived( |
| 54 const std::map<autofill::FormData, autofill::FormFieldData>& predictions) |
| 55 override; |
53 void GeneratedPasswordAccepted(const base::string16& password) override; | 56 void GeneratedPasswordAccepted(const base::string16& password) override; |
54 void FillSuggestion(const base::string16& username, | 57 void FillSuggestion(const base::string16& username, |
55 const base::string16& password) override; | 58 const base::string16& password) override; |
56 void PreviewSuggestion(const base::string16& username, | 59 void PreviewSuggestion(const base::string16& username, |
57 const base::string16& password) override; | 60 const base::string16& password) override; |
58 void ClearPreviewedForm() override; | 61 void ClearPreviewedForm() override; |
59 | 62 |
60 PasswordGenerationManager* GetPasswordGenerationManager() override; | 63 PasswordGenerationManager* GetPasswordGenerationManager() override; |
61 PasswordManager* GetPasswordManager() override; | 64 PasswordManager* GetPasswordManager() override; |
62 PasswordAutofillManager* GetPasswordAutofillManager() override; | 65 PasswordAutofillManager* GetPasswordAutofillManager() override; |
(...skipping 21 matching lines...) Expand all Loading... |
84 // the latter two classes can reference to the same instance without sending | 87 // the latter two classes can reference to the same instance without sending |
85 // it to each other over IPC. The counter below is used to generate new IDs. | 88 // it to each other over IPC. The counter below is used to generate new IDs. |
86 int next_free_key_; | 89 int next_free_key_; |
87 | 90 |
88 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); | 91 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); |
89 }; | 92 }; |
90 | 93 |
91 } // namespace password_manager | 94 } // namespace password_manager |
92 | 95 |
93 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ | 96 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_
DRIVER_H_ |
OLD | NEW |