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

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: Rebase and update code as per Ilya's comments Created 6 years, 9 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 AutofillMsg_FieldTypePredictionsAvailable, 115 AutofillMsg_FieldTypePredictionsAvailable,
116 std::vector<autofill::FormDataPredictions> /* forms */) 116 std::vector<autofill::FormDataPredictions> /* forms */)
117 117
118 // Clears the currently displayed Autofill results. 118 // Clears the currently displayed Autofill results.
119 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) 119 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm)
120 120
121 // Tells the renderer that the Autofill previewed form should be cleared. 121 // Tells the renderer that the Autofill previewed form should be cleared.
122 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm) 122 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearPreviewedForm)
123 123
124 // Sets the currently selected node's value. 124 // Sets the currently selected node's value.
125 IPC_MESSAGE_ROUTED1(AutofillMsg_SetNodeText, 125 IPC_MESSAGE_ROUTED1(AutofillMsg_FillFieldWithValue,
126 base::string16 /* new node text */) 126 base::string16 /* value */)
127
128 // Sets the suggested value for the currently previewed node.
129 IPC_MESSAGE_ROUTED1(AutofillMsg_PreviewFieldWithValue,
130 base::string16 /* value */)
127 131
128 // Sets the currently selected node's value to be the given data list value. 132 // Sets the currently selected node's value to be the given data list value.
129 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, 133 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
130 base::string16 /* accepted data list value */) 134 base::string16 /* accepted data list value */)
131 135
132 // Tells the renderer to populate the correct password fields with this 136 // Tells the renderer to populate the correct password fields with this
133 // generated password. 137 // generated password.
134 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 138 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
135 base::string16 /* generated_password */) 139 base::string16 /* generated_password */)
136 140
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 250 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
247 autofill::FormFieldData /* the form field */, 251 autofill::FormFieldData /* the form field */,
248 gfx::RectF /* input field bounds, window-relative */, 252 gfx::RectF /* input field bounds, window-relative */,
249 std::vector<base::string16> /* suggestions */, 253 std::vector<base::string16> /* suggestions */,
250 std::vector<base::string16> /* realms */) 254 std::vector<base::string16> /* realms */)
251 255
252 // Inform browser of data list values for the curent field. 256 // Inform browser of data list values for the curent field.
253 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 257 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
254 std::vector<base::string16> /* values */, 258 std::vector<base::string16> /* values */,
255 std::vector<base::string16> /* labels */) 259 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698