diff options
author | ramankk@chromium.org <ramankk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 23:05:36 +0000 |
---|---|---|
committer | ramankk@chromium.org <ramankk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 23:05:36 +0000 |
commit | 786a75ce6c3e7128ec6ceae9effb6552c50b8e0b (patch) | |
tree | 9b4f3590b0e1a6754e2fb0e7dbb45a147a8a12d7 /chrome/common/autofill_messages.h | |
parent | 9e9161b9ecdfe4c17d4230d5f3679a30b906c99b (diff) | |
download | chromium_src-786a75ce6c3e7128ec6ceae9effb6552c50b8e0b.zip chromium_src-786a75ce6c3e7128ec6ceae9effb6552c50b8e0b.tar.gz chromium_src-786a75ce6c3e7128ec6ceae9effb6552c50b8e0b.tar.bz2 |
Add support for radiobuttons and checkboxes.
This is attempt no 2 to submit this CL. earlier attempt at
https://chromiumcodereview.appspot.com/11415221/ (which was rolled back due to perf regression)
Changes from last attempt:
* In chrome/browser/autofill/form_structure.cc: Read switch value into local variable before being used multiple times.
* In chrome/renderer/autofill/form_autofill_util.cc: Extracted form_control_type strings in WebString constants for reuse.
Due to inconsistency in the timing reported by the page cycler tests on my local setup and unavailablity of good environment to perform these tests, the only data I have now is runtimes were approximatly same during *one* set of runs with and without my change. I have observed ~4ms difference in timing without any code changes, while I am chasing ~2 ms.
If perf regresssion is observed again on the perf machines, I will revert it back.
BUG=157636
Review URL: https://chromiumcodereview.appspot.com/11788025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/autofill_messages.h')
-rw-r--r-- | chrome/common/autofill_messages.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/autofill_messages.h b/chrome/common/autofill_messages.h index ec032bf..d376883 100644 --- a/chrome/common/autofill_messages.h +++ b/chrome/common/autofill_messages.h @@ -32,6 +32,8 @@ IPC_STRUCT_TRAITS_BEGIN(FormFieldData) IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute) IPC_STRUCT_TRAITS_MEMBER(max_length) IPC_STRUCT_TRAITS_MEMBER(is_autofilled) + IPC_STRUCT_TRAITS_MEMBER(is_checked) + IPC_STRUCT_TRAITS_MEMBER(is_checkable) IPC_STRUCT_TRAITS_MEMBER(is_focusable) IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) IPC_STRUCT_TRAITS_MEMBER(option_values) |