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

Side by Side Diff: components/autofill/content/common/autofill_messages.h

Issue 148413002: Add "previewing on hover" support for single-field autocomplete input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update code as per review comments Created 6 years, 10 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/time.h" 9 #include "base/time/time.h"
10 #include "components/autofill/content/common/autofill_param_traits_macros.h" 10 #include "components/autofill/content/common/autofill_param_traits_macros.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // Tells the renderer that the next form will be filled as a preview. 120 // Tells the renderer that the next form will be filled as a preview.
121 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview) 121 IPC_MESSAGE_ROUTED0(AutofillMsg_SetAutofillActionPreview)
122 122
123 // Tells the renderer that the Autofill previewed form should be cleared. 123 // Tells the renderer that the Autofill previewed form should be cleared.
124 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) 124 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm)
125 125
126 // Sets the currently selected node's value. 126 // Sets the currently selected node's value.
127 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, 127 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText,
128 base::string16 /* new node text */) 128 base::string16 /* new node text */)
129 129
130 // Sets preview suggested value for Autocomplete node
131 IPC_MESSAGE_ROUTED1(AutofillMsg_PreviewAutoCompleteNode,
Ilya Sherman 2014/02/22 05:59:51 Again, let's try to have parallel names and docume
ziran.sun 2014/02/27 15:38:11 Done.
ziran.sun 2014/02/27 15:38:11 Done.
132 base::string16 /* preview text */)
Ilya Sherman 2014/02/22 05:59:51 nit: The commented out part is meant to be a varia
ziran.sun 2014/02/27 15:38:11 Done.
133
130 // Sets the currently selected node's value to be the given data list value. 134 // Sets the currently selected node's value to be the given data list value.
131 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, 135 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
132 base::string16 /* accepted data list value */) 136 base::string16 /* accepted data list value */)
133 137
134 // Tells the renderer to populate the correct password fields with this 138 // Tells the renderer to populate the correct password fields with this
135 // generated password. 139 // generated password.
136 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 140 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
137 base::string16 /* generated_password */) 141 base::string16 /* generated_password */)
138 142
139 // Tells the renderer that the password field has accept the suggestion. 143 // Tells the renderer that the password field has accept the suggestion.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 262 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
259 autofill::FormFieldData /* the form field */, 263 autofill::FormFieldData /* the form field */,
260 gfx::RectF /* input field bounds, window-relative */, 264 gfx::RectF /* input field bounds, window-relative */,
261 std::vector<base::string16> /* suggestions */, 265 std::vector<base::string16> /* suggestions */,
262 std::vector<base::string16> /* realms */) 266 std::vector<base::string16> /* realms */)
263 267
264 // Inform browser of data list values for the curent field. 268 // Inform browser of data list values for the curent field.
265 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 269 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
266 std::vector<base::string16> /* values */, 270 std::vector<base::string16> /* values */,
267 std::vector<base::string16> /* labels */) 271 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698