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

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

Issue 2189513004: Blink: prevent didAssociateFormControls notification while parsing the document. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename Created 4 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 void FillPasswordSuggestion(const mojo::String& username, 75 void FillPasswordSuggestion(const mojo::String& username,
76 const mojo::String& password) override; 76 const mojo::String& password) override;
77 void PreviewPasswordSuggestion(const mojo::String& username, 77 void PreviewPasswordSuggestion(const mojo::String& username,
78 const mojo::String& password) override; 78 const mojo::String& password) override;
79 void ShowInitialPasswordAccountSuggestions( 79 void ShowInitialPasswordAccountSuggestions(
80 int32_t key, 80 int32_t key,
81 const PasswordFormFillData& form_data) override; 81 const PasswordFormFillData& form_data) override;
82 82
83 protected: 83 protected:
84 // blink::WebAutofillClient: 84 // blink::WebAutofillClient:
85 void didAssociateFormControls( 85 void didAssociateFormControlsDynamically() override;
86 const blink::WebVector<blink::WebNode>& nodes) override;
87 86
88 private: 87 private:
89 // Functor used as a simplified comparison function for FormData. Only 88 // Functor used as a simplified comparison function for FormData. Only
90 // compares forms at a high level (notably name, origin, action). 89 // compares forms at a high level (notably name, origin, action).
91 struct FormDataCompare { 90 struct FormDataCompare {
92 bool operator()(const FormData& lhs, const FormData& rhs) const; 91 bool operator()(const FormData& lhs, const FormData& rhs) const;
93 }; 92 };
94 93
95 // Thunk class for RenderViewObserver methods that haven't yet been migrated 94 // Thunk class for RenderViewObserver methods that haven't yet been migrated
96 // to RenderFrameObserver. Should eventually be removed. 95 // to RenderFrameObserver. Should eventually be removed.
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 mojom::AutofillDriverPtr mojo_autofill_driver_; 302 mojom::AutofillDriverPtr mojo_autofill_driver_;
304 303
305 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; 304 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
306 305
307 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 306 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
308 }; 307 };
309 308
310 } // namespace autofill 309 } // namespace autofill
311 310
312 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 311 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_render_view_test.cc ('k') | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698