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

Unified Diff: components/autofill/content/renderer/autofill_agent.h

Issue 2134653002: Add delay to didAssociateFormControlsTimer so it doesn't fire too frequently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 5 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
« no previous file with comments | « chrome/test/base/chrome_render_view_test.cc ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/autofill_agent.h
diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h
index aaf357670086c8b8c2ed4e2be291121a47c4a5fe..592c4f6ef5470321be3043eec269f36ecc444790 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -58,6 +58,11 @@ class AutofillAgent : public content::RenderFrameObserver,
void BindRequest(mojom::AutofillAgentRequest request);
+ protected:
+ // blink::WebAutofillClient:
+ void didAssociateFormControls(
+ const blink::WebVector<blink::WebNode>& nodes) override;
+
private:
// Functor used as a simplified comparison function for FormData. Only
// compares forms at a high level (notably name, origin, action).
@@ -146,8 +151,6 @@ class AutofillAgent : public content::RenderFrameObserver,
const blink::WebInputElement& element,
const blink::WebKeyboardEvent& event) override;
void setIgnoreTextChanges(bool ignore) override;
- void didAssociateFormControls(
- const blink::WebVector<blink::WebNode>& nodes) override;
void openTextDataListChooser(const blink::WebInputElement& element) override;
void dataListOptionsChanged(const blink::WebInputElement& element) override;
void firstUserGestureObserved() override;
« no previous file with comments | « chrome/test/base/chrome_render_view_test.cc ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698