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

Side by Side Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 2915763003: [Password Manager] Show omnibox icon and anchored prompt once user start typing password (Closed)
Patch Set: Rebase Created 3 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ~ChromePasswordManagerClient() override; 49 ~ChromePasswordManagerClient() override;
50 50
51 // PasswordManagerClient implementation. 51 // PasswordManagerClient implementation.
52 bool IsSavingAndFillingEnabledForCurrentPage() const override; 52 bool IsSavingAndFillingEnabledForCurrentPage() const override;
53 bool IsFillingEnabledForCurrentPage() const override; 53 bool IsFillingEnabledForCurrentPage() const override;
54 void PostHSTSQueryForHost(const GURL& origin, 54 void PostHSTSQueryForHost(const GURL& origin,
55 const HSTSCallback& callback) const override; 55 const HSTSCallback& callback) const override;
56 bool OnCredentialManagerUsed() override; 56 bool OnCredentialManagerUsed() override;
57 bool PromptUserToSaveOrUpdatePassword( 57 bool PromptUserToSaveOrUpdatePassword(
58 std::unique_ptr<password_manager::PasswordFormManager> form_to_save, 58 std::unique_ptr<password_manager::PasswordFormManager> form_to_save,
59 bool update_password) override; 59 bool is_update) override;
60 void ShowManualFallbackForSaving(
61 std::unique_ptr<password_manager::PasswordFormManager> form_to_save,
62 bool has_generated_password,
63 bool is_update) override;
64 void HideManualFallbackForSaving() override;
60 bool PromptUserToChooseCredentials( 65 bool PromptUserToChooseCredentials(
61 std::vector<std::unique_ptr<autofill::PasswordForm>> local_forms, 66 std::vector<std::unique_ptr<autofill::PasswordForm>> local_forms,
62 const GURL& origin, 67 const GURL& origin,
63 const CredentialsCallback& callback) override; 68 const CredentialsCallback& callback) override;
64 void ForceSavePassword() override; 69 void ForceSavePassword() override;
65 void GeneratePassword() override; 70 void GeneratePassword() override;
66 void NotifyUserAutoSignin( 71 void NotifyUserAutoSignin(
67 std::vector<std::unique_ptr<autofill::PasswordForm>> local_forms, 72 std::vector<std::unique_ptr<autofill::PasswordForm>> local_forms,
68 const GURL& origin) override; 73 const GURL& origin) override;
69 void NotifyUserCouldBeAutoSignedIn( 74 void NotifyUserCouldBeAutoSignedIn(
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 metrics_recorder_; 246 metrics_recorder_;
242 247
243 // Whether navigator.credentials.store() was ever called from this 248 // Whether navigator.credentials.store() was ever called from this
244 // WebContents. Used for testing. 249 // WebContents. Used for testing.
245 bool was_store_ever_called_ = false; 250 bool was_store_ever_called_ = false;
246 251
247 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); 252 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient);
248 }; 253 };
249 254
250 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ 255 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698