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

Side by Side Diff: components/autofill/content/renderer/autofill_agent.h

Issue 2604453003: Show Form-Not-Secure warning on page load (Closed)
Patch Set: meacer, jochen comments Created 3 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void PreviewFieldWithValue(const base::string16& value) override; 76 void PreviewFieldWithValue(const base::string16& value) override;
77 void AcceptDataListSuggestion(const base::string16& value) override; 77 void AcceptDataListSuggestion(const base::string16& value) override;
78 void FillPasswordSuggestion(const base::string16& username, 78 void FillPasswordSuggestion(const base::string16& username,
79 const base::string16& password) override; 79 const base::string16& password) override;
80 void PreviewPasswordSuggestion(const base::string16& username, 80 void PreviewPasswordSuggestion(const base::string16& username,
81 const base::string16& password) override; 81 const base::string16& password) override;
82 void ShowInitialPasswordAccountSuggestions( 82 void ShowInitialPasswordAccountSuggestions(
83 int32_t key, 83 int32_t key,
84 const PasswordFormFillData& form_data) override; 84 const PasswordFormFillData& form_data) override;
85 85
86 void ShowNotSecureWarning(const blink::WebInputElement& element);
87
86 protected: 88 protected:
87 // blink::WebAutofillClient: 89 // blink::WebAutofillClient:
88 void didAssociateFormControlsDynamically() override; 90 void didAssociateFormControlsDynamically() override;
89 91
90 private: 92 private:
91 // Functor used as a simplified comparison function for FormData. Only 93 // Functor used as a simplified comparison function for FormData. Only
92 // compares forms at a high level (notably name, origin, action). 94 // compares forms at a high level (notably name, origin, action).
93 struct FormDataCompare { 95 struct FormDataCompare {
94 bool operator()(const FormData& lhs, const FormData& rhs) const; 96 bool operator()(const FormData& lhs, const FormData& rhs) const;
95 }; 97 };
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 mojom::AutofillDriverPtr autofill_driver_; 305 mojom::AutofillDriverPtr autofill_driver_;
304 306
305 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; 307 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
306 308
307 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 309 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
308 }; 310 };
309 311
310 } // namespace autofill 312 } // namespace autofill
311 313
312 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 314 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698