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

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

Issue 7038003: Refactor autofill form fields. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/common/webkit_param_traits.h" 9 #include "content/common/webkit_param_traits.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
11 #include "webkit/glue/form_data.h" 11 #include "webkit/glue/form_data.h"
12 #include "webkit/glue/form_field.h" 12 #include "webkit/glue/form_field.h"
13 #include "webkit/glue/password_form.h" 13 #include "webkit/glue/password_form.h"
14 #include "webkit/glue/password_form_dom_manager.h" 14 #include "webkit/glue/password_form_dom_manager.h"
15 15
16 #define IPC_MESSAGE_START AutofillMsgStart 16 #define IPC_MESSAGE_START AutofillMsgStart
17 17
18 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::FormField) 18 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::FormField)
19 IPC_STRUCT_TRAITS_MEMBER(label) 19 IPC_STRUCT_TRAITS_MEMBER(label)
20 IPC_STRUCT_TRAITS_MEMBER(name) 20 IPC_STRUCT_TRAITS_MEMBER(name)
21 IPC_STRUCT_TRAITS_MEMBER(value) 21 IPC_STRUCT_TRAITS_MEMBER(value)
22 IPC_STRUCT_TRAITS_MEMBER(form_control_type) 22 IPC_STRUCT_TRAITS_MEMBER(form_control_type)
23 IPC_STRUCT_TRAITS_MEMBER(max_length) 23 IPC_STRUCT_TRAITS_MEMBER(max_length)
24 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) 24 IPC_STRUCT_TRAITS_MEMBER(is_autofilled)
25 IPC_STRUCT_TRAITS_MEMBER(option_strings) 25 IPC_STRUCT_TRAITS_MEMBER(option_strings)
26 IPC_STRUCT_TRAITS_MEMBER(is_text_input)
26 IPC_STRUCT_TRAITS_END() 27 IPC_STRUCT_TRAITS_END()
27 28
28 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::FormData) 29 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::FormData)
29 IPC_STRUCT_TRAITS_MEMBER(name) 30 IPC_STRUCT_TRAITS_MEMBER(name)
30 IPC_STRUCT_TRAITS_MEMBER(method) 31 IPC_STRUCT_TRAITS_MEMBER(method)
31 IPC_STRUCT_TRAITS_MEMBER(origin) 32 IPC_STRUCT_TRAITS_MEMBER(origin)
32 IPC_STRUCT_TRAITS_MEMBER(action) 33 IPC_STRUCT_TRAITS_MEMBER(action)
33 IPC_STRUCT_TRAITS_MEMBER(user_submitted) 34 IPC_STRUCT_TRAITS_MEMBER(user_submitted)
34 IPC_STRUCT_TRAITS_MEMBER(fields) 35 IPC_STRUCT_TRAITS_MEMBER(fields)
35 IPC_STRUCT_TRAITS_END() 36 IPC_STRUCT_TRAITS_END()
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Instructs the browser to remove the specified Autocomplete entry from the 108 // Instructs the browser to remove the specified Autocomplete entry from the
108 // database. 109 // database.
109 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, 110 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry,
110 string16 /* field name */, 111 string16 /* field name */,
111 string16 /* value */) 112 string16 /* value */)
112 113
113 // Instructs the browser to show the Autofill dialog. 114 // Instructs the browser to show the Autofill dialog.
114 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) 115 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
115 116
116 117
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698