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

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

Issue 2055693002: Add delay to didAssociateFormControlsTimer so it doesn't fire too frequently (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 e6863f3464637e2deadee3eeccf2b6f03e2b76dc..1fa267a1e7bcd760de283c03637c3c3cabf73f25 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -59,6 +59,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).
@@ -156,8 +161,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