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

Side by Side Diff: chrome/common/autofill_messages.h

Issue 11415221: Add support for autofilling radio buttons and checkboxes. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix browser tests (added more data in .out files, skip checkable elements when trying to parse with… 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "chrome/common/common_param_traits_macros.h" 10 #include "chrome/common/common_param_traits_macros.h"
(...skipping 14 matching lines...) Expand all
25 #define IPC_MESSAGE_START AutofillMsgStart 25 #define IPC_MESSAGE_START AutofillMsgStart
26 26
27 IPC_STRUCT_TRAITS_BEGIN(FormFieldData) 27 IPC_STRUCT_TRAITS_BEGIN(FormFieldData)
28 IPC_STRUCT_TRAITS_MEMBER(label) 28 IPC_STRUCT_TRAITS_MEMBER(label)
29 IPC_STRUCT_TRAITS_MEMBER(name) 29 IPC_STRUCT_TRAITS_MEMBER(name)
30 IPC_STRUCT_TRAITS_MEMBER(value) 30 IPC_STRUCT_TRAITS_MEMBER(value)
31 IPC_STRUCT_TRAITS_MEMBER(form_control_type) 31 IPC_STRUCT_TRAITS_MEMBER(form_control_type)
32 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute) 32 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute)
33 IPC_STRUCT_TRAITS_MEMBER(max_length) 33 IPC_STRUCT_TRAITS_MEMBER(max_length)
34 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) 34 IPC_STRUCT_TRAITS_MEMBER(is_autofilled)
35 IPC_STRUCT_TRAITS_MEMBER(is_checked)
36 IPC_STRUCT_TRAITS_MEMBER(is_checkable)
35 IPC_STRUCT_TRAITS_MEMBER(is_focusable) 37 IPC_STRUCT_TRAITS_MEMBER(is_focusable)
36 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) 38 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete)
37 IPC_STRUCT_TRAITS_MEMBER(option_values) 39 IPC_STRUCT_TRAITS_MEMBER(option_values)
38 IPC_STRUCT_TRAITS_MEMBER(option_contents) 40 IPC_STRUCT_TRAITS_MEMBER(option_contents)
39 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
40 42
41 IPC_STRUCT_TRAITS_BEGIN(FormFieldDataPredictions) 43 IPC_STRUCT_TRAITS_BEGIN(FormFieldDataPredictions)
42 IPC_STRUCT_TRAITS_MEMBER(field) 44 IPC_STRUCT_TRAITS_MEMBER(field)
43 IPC_STRUCT_TRAITS_MEMBER(signature) 45 IPC_STRUCT_TRAITS_MEMBER(signature)
44 IPC_STRUCT_TRAITS_MEMBER(heuristic_type) 46 IPC_STRUCT_TRAITS_MEMBER(heuristic_type)
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 FormFieldData /* the form field */, 249 FormFieldData /* the form field */,
248 gfx::Rect /* input field bounds, window-relative */, 250 gfx::Rect /* input field bounds, window-relative */,
249 std::vector<string16> /* suggestions */) 251 std::vector<string16> /* suggestions */)
250 252
251 // Inform browser of data list values for the curent field. 253 // Inform browser of data list values for the curent field.
252 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 254 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
253 std::vector<string16> /* values */, 255 std::vector<string16> /* values */,
254 std::vector<string16> /* labels */, 256 std::vector<string16> /* labels */,
255 std::vector<string16> /* icons */, 257 std::vector<string16> /* icons */,
256 std::vector<int> /* unique ids */) 258 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698