Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(475)

Side by Side Diff: components/password_manager/content/browser/content_password_manager_driver.h

Issue 2035143002: Basic implementation of showing password fill dialog on page load (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fix iOS compile Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const std::vector<autofill::PasswordFormGenerationData>& forms) override; 58 const std::vector<autofill::PasswordFormGenerationData>& forms) override;
59 void AutofillDataReceived( 59 void AutofillDataReceived(
60 const std::map<autofill::FormData, 60 const std::map<autofill::FormData,
61 autofill::PasswordFormFieldPredictionMap>& predictions) 61 autofill::PasswordFormFieldPredictionMap>& predictions)
62 override; 62 override;
63 void GeneratedPasswordAccepted(const base::string16& password) override; 63 void GeneratedPasswordAccepted(const base::string16& password) override;
64 void FillSuggestion(const base::string16& username, 64 void FillSuggestion(const base::string16& username,
65 const base::string16& password) override; 65 const base::string16& password) override;
66 void PreviewSuggestion(const base::string16& username, 66 void PreviewSuggestion(const base::string16& username,
67 const base::string16& password) override; 67 const base::string16& password) override;
68 void ShowInitialPasswordAccountSuggestions(
69 const autofill::PasswordFormFillData& form_data) override;
68 void ClearPreviewedForm() override; 70 void ClearPreviewedForm() override;
69 void ForceSavePassword() override; 71 void ForceSavePassword() override;
70 void GeneratePassword() override; 72 void GeneratePassword() override;
71 void SendLoggingAvailability() override; 73 void SendLoggingAvailability() override;
72 74
73 PasswordGenerationManager* GetPasswordGenerationManager() override; 75 PasswordGenerationManager* GetPasswordGenerationManager() override;
74 PasswordManager* GetPasswordManager() override; 76 PasswordManager* GetPasswordManager() override;
75 PasswordAutofillManager* GetPasswordAutofillManager() override; 77 PasswordAutofillManager* GetPasswordAutofillManager() override;
76 78
77 bool HandleMessage(const IPC::Message& message); 79 bool HandleMessage(const IPC::Message& message);
(...skipping 27 matching lines...) Expand all
105 // the latter two classes can reference to the same instance without sending 107 // the latter two classes can reference to the same instance without sending
106 // it to each other over IPC. The counter below is used to generate new IDs. 108 // it to each other over IPC. The counter below is used to generate new IDs.
107 int next_free_key_; 109 int next_free_key_;
108 110
109 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); 111 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
110 }; 112 };
111 113
112 } // namespace password_manager 114 } // namespace password_manager
113 115
114 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_ 116 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698