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

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

Issue 11198048: [Autofill] Update the autocomplete types implementation to match the current HTML spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update AutofillFieldTest expectations Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
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"
11 #include "chrome/common/form_data.h" 11 #include "chrome/common/form_data.h"
12 #include "chrome/common/form_data_predictions.h" 12 #include "chrome/common/form_data_predictions.h"
13 #include "chrome/common/form_field_data.h" 13 #include "chrome/common/form_field_data.h"
14 #include "chrome/common/form_field_data_predictions.h" 14 #include "chrome/common/form_field_data_predictions.h"
15 #include "chrome/common/password_form_fill_data.h" 15 #include "chrome/common/password_form_fill_data.h"
16 #include "content/public/common/password_form.h" 16 #include "content/public/common/password_form.h"
17 #include "ipc/ipc_message_macros.h" 17 #include "ipc/ipc_message_macros.h"
18 #include "ipc/ipc_message_utils.h" 18 #include "ipc/ipc_message_utils.h"
19 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
20 20
21 #define IPC_MESSAGE_START AutofillMsgStart 21 #define IPC_MESSAGE_START AutofillMsgStart
22 22
23 IPC_STRUCT_TRAITS_BEGIN(FormFieldData) 23 IPC_STRUCT_TRAITS_BEGIN(FormFieldData)
24 IPC_STRUCT_TRAITS_MEMBER(label) 24 IPC_STRUCT_TRAITS_MEMBER(label)
25 IPC_STRUCT_TRAITS_MEMBER(name) 25 IPC_STRUCT_TRAITS_MEMBER(name)
26 IPC_STRUCT_TRAITS_MEMBER(value) 26 IPC_STRUCT_TRAITS_MEMBER(value)
27 IPC_STRUCT_TRAITS_MEMBER(form_control_type) 27 IPC_STRUCT_TRAITS_MEMBER(form_control_type)
28 IPC_STRUCT_TRAITS_MEMBER(autocomplete_type) 28 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute)
29 IPC_STRUCT_TRAITS_MEMBER(max_length) 29 IPC_STRUCT_TRAITS_MEMBER(max_length)
30 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) 30 IPC_STRUCT_TRAITS_MEMBER(is_autofilled)
31 IPC_STRUCT_TRAITS_MEMBER(is_focusable) 31 IPC_STRUCT_TRAITS_MEMBER(is_focusable)
32 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) 32 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete)
33 IPC_STRUCT_TRAITS_MEMBER(option_values) 33 IPC_STRUCT_TRAITS_MEMBER(option_values)
34 IPC_STRUCT_TRAITS_MEMBER(option_contents) 34 IPC_STRUCT_TRAITS_MEMBER(option_contents)
35 IPC_STRUCT_TRAITS_END() 35 IPC_STRUCT_TRAITS_END()
36 36
37 IPC_STRUCT_TRAITS_BEGIN(FormFieldDataPredictions) 37 IPC_STRUCT_TRAITS_BEGIN(FormFieldDataPredictions)
38 IPC_STRUCT_TRAITS_MEMBER(field) 38 IPC_STRUCT_TRAITS_MEMBER(field)
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 FormFieldData /* the form field */, 221 FormFieldData /* the form field */,
222 gfx::Rect /* input field bounds, window-relative */, 222 gfx::Rect /* input field bounds, window-relative */,
223 std::vector<string16> /* suggestions */) 223 std::vector<string16> /* suggestions */)
224 224
225 // Inform browser of data list values for the curent field. 225 // Inform browser of data list values for the curent field.
226 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 226 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
227 std::vector<string16> /* values */, 227 std::vector<string16> /* values */,
228 std::vector<string16> /* labels */, 228 std::vector<string16> /* labels */,
229 std::vector<string16> /* icons */, 229 std::vector<string16> /* icons */,
230 std::vector<int> /* unique ids */) 230 std::vector<int> /* unique ids */)
OLDNEW
« no previous file with comments | « chrome/browser/autofill/select_control_handler_unittest.cc ('k') | chrome/common/form_field_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698