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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.h

Issue 208453002: Add "previewing on hover" support for password field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update code as per further review comments. Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: components/password_manager/content/browser/content_password_manager_driver.h
diff --git a/components/password_manager/content/browser/content_password_manager_driver.h b/components/password_manager/content/browser/content_password_manager_driver.h
index d055b407d2f8c60312846f74dce049a9fc112417..4fb2e9019b53c4e34b5f4a8fcda5272c7c4c2a9c 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.h
+++ b/components/password_manager/content/browser/content_password_manager_driver.h
@@ -42,9 +42,11 @@ class ContentPasswordManagerDriver : public PasswordManagerDriver,
OVERRIDE;
virtual void AccountCreationFormsFound(
const std::vector<autofill::FormData>& forms) OVERRIDE;
- virtual void AcceptPasswordAutofillSuggestion(
- const base::string16& username,
- const base::string16& password) OVERRIDE;
+ virtual void FillSuggestion(const base::string16& username,
+ const base::string16& password) OVERRIDE;
+ virtual void PreviewSuggestion(const base::string16& username,
+ const base::string16& password) OVERRIDE;
+ virtual void ClearPreviewedForm() OVERRIDE;
virtual PasswordGenerationManager* GetPasswordGenerationManager() OVERRIDE;
virtual PasswordManager* GetPasswordManager() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698