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

Unified Diff: components/password_manager/core/browser/mock_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/core/browser/mock_password_manager_driver.h
diff --git a/components/password_manager/core/browser/mock_password_manager_driver.h b/components/password_manager/core/browser/mock_password_manager_driver.h
index 4da7c8041941711e880edb4e4b30754b19919944..c4490b98a45378245b4e5faae093c683d92454f9 100644
--- a/components/password_manager/core/browser/mock_password_manager_driver.h
+++ b/components/password_manager/core/browser/mock_password_manager_driver.h
@@ -32,8 +32,11 @@ class MockPasswordManagerDriver : public PasswordManagerDriver {
MOCK_METHOD1(AllowPasswordGenerationForForm, void(autofill::PasswordForm*));
MOCK_METHOD1(AccountCreationFormsFound,
void(const std::vector<autofill::FormData>&));
- MOCK_METHOD2(AcceptPasswordAutofillSuggestion,
+ MOCK_METHOD2(FillSuggestion,
void(const base::string16&, const base::string16&));
+ MOCK_METHOD2(PreviewSuggestion,
+ void(const base::string16&, const base::string16&));
+ MOCK_METHOD0(ClearPreviewedForm, void());
};
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698