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

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

Issue 1411363003: [Autofill] Always show available data when encountering autocomplete attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 1 month 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
Index: components/autofill/content/renderer/form_cache.h
diff --git a/components/autofill/content/renderer/form_cache.h b/components/autofill/content/renderer/form_cache.h
index 15c568056c872a2a5ed5c3950718eca6a2e73bef..faa0a302d5efada113d77d907350fcd23f497f8b 100644
--- a/components/autofill/content/renderer/form_cache.h
+++ b/components/autofill/content/renderer/form_cache.h
@@ -48,6 +48,10 @@ class FormCache {
// and the experiment id for the server predictions.
bool ShowPredictions(const FormDataPredictions& form);
+ // Determines whether the form is interesting enough to send to the browser
+ // for further operations. Exposed for testing.
+ static bool IsFormInteresting(FormData form);
Evan Stade 2015/11/04 17:15:18 this doesn't belong here because it's not actually
sebsg 2015/11/10 19:04:51 Done.
+
private:
// Scans |control_elements| and returns the number of editable elements.
// Also remembers the initial <select> and <input> element states, and

Powered by Google App Engine
This is Rietveld 408576698