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

Unified Diff: chrome/renderer/autofill/form_cache.h

Issue 11415221: Add support for autofilling radio buttons and checkboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed review comments Created 8 years 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: chrome/renderer/autofill/form_cache.h
diff --git a/chrome/renderer/autofill/form_cache.h b/chrome/renderer/autofill/form_cache.h
index 43bd651eb8c03d673f4414a27d9eb031c5c28f0c..e621345f9b1ef3e012e9168e93ce49cad1f2a672 100644
--- a/chrome/renderer/autofill/form_cache.h
+++ b/chrome/renderer/autofill/form_cache.h
@@ -19,6 +19,7 @@ class WebDocument;
class WebFrame;
class WebInputElement;
class WebSelectElement;
+class WebFormControlElement;
Ilya Sherman 2012/12/11 05:56:19 nit: This forward declaration doesn't seem to be n
Raman Kakilate 2012/12/11 17:45:45 Done.
}
namespace autofill {
@@ -54,6 +55,9 @@ class FormCache {
// The cached initial values for <select> elements.
std::map<const WebKit::WebSelectElement, string16> initial_select_values_;
+ // The cached initial values for checkable <input> elements.
+ std::map<const WebKit::WebInputElement, bool> initial_checked_state_;
+
DISALLOW_COPY_AND_ASSIGN(FormCache);
};

Powered by Google App Engine
This is Rietveld 408576698