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

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

Issue 2833193002: Trigger Password Protection ping on username/password field on focus (Closed)
Patch Set: nit Created 3 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 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 base::i18n::TextDirection text_direction, 102 base::i18n::TextDirection text_direction,
103 const base::string16& typed_username, 103 const base::string16& typed_username,
104 int options, 104 int options,
105 const gfx::RectF& bounds) override; 105 const gfx::RectF& bounds) override;
106 void ShowNotSecureWarning(base::i18n::TextDirection text_direction, 106 void ShowNotSecureWarning(base::i18n::TextDirection text_direction,
107 const gfx::RectF& bounds) override; 107 const gfx::RectF& bounds) override;
108 void RecordSavePasswordProgress(const std::string& log) override; 108 void RecordSavePasswordProgress(const std::string& log) override;
109 void SaveGenerationFieldDetectedByClassifier( 109 void SaveGenerationFieldDetectedByClassifier(
110 const autofill::PasswordForm& password_form, 110 const autofill::PasswordForm& password_form,
111 const base::string16& generation_field) override; 111 const base::string16& generation_field) override;
112 void CheckSafeBrowsingReputation(const GURL& form_action,
113 const GURL& frame_url) override;
112 114
113 void OnPasswordFormsParsedNoRenderCheck( 115 void OnPasswordFormsParsedNoRenderCheck(
114 const std::vector<autofill::PasswordForm>& forms); 116 const std::vector<autofill::PasswordForm>& forms);
115 void OnFocusedPasswordFormFound(const autofill::PasswordForm& password_form); 117 void OnFocusedPasswordFormFound(const autofill::PasswordForm& password_form);
116 118
117 // blink::mojom::SensitiveInputVisibility: 119 // blink::mojom::SensitiveInputVisibility:
118 void PasswordFieldVisibleInInsecureContext() override; 120 void PasswordFieldVisibleInInsecureContext() override;
119 void AllPasswordFieldsInInsecureContextInvisible() override; 121 void AllPasswordFieldsInInsecureContextInvisible() override;
120 122
121 private: 123 private:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 sensitive_input_visibility_bindings_; 155 sensitive_input_visibility_bindings_;
154 156
155 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_; 157 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_;
156 158
157 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); 159 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
158 }; 160 };
159 161
160 } // namespace password_manager 162 } // namespace password_manager
161 163
162 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_ 164 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698