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: 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: Addressed Ilya's 2nd set 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 // Clears the currently displayed Autofill results. 117 // Clears the currently displayed Autofill results.
118 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm) 118 IPC_MESSAGE_ROUTED0(AutofillMsg_ClearForm)
119 119
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_FillFieldWithValue,
128 base::string16 /* new node text */) 128 base::string16 /* value */)
129
130 // Sets suggested value for the currently previewed node
Ilya Sherman 2014/03/01 02:57:37 nit: Please end the sentence with a period.
Tom Sepez 2014/03/03 19:28:46 nit: Sets the suggested value ...
ziran.sun 2014/03/04 15:30:19 Done.
ziran.sun 2014/03/04 15:30:19 Done.
131 IPC_MESSAGE_ROUTED1(AutofillMsg_PreviewFieldWithValue,
132 base::string16 /* value */)
129 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
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 264 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
261 autofill::FormFieldData /* the form field */, 265 autofill::FormFieldData /* the form field */,
262 gfx::RectF /* input field bounds, window-relative */, 266 gfx::RectF /* input field bounds, window-relative */,
263 std::vector<base::string16> /* suggestions */, 267 std::vector<base::string16> /* suggestions */,
264 std::vector<base::string16> /* realms */) 268 std::vector<base::string16> /* realms */)
265 269
266 // Inform browser of data list values for the curent field. 270 // Inform browser of data list values for the curent field.
267 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 271 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
268 std::vector<base::string16> /* values */, 272 std::vector<base::string16> /* values */,
269 std::vector<base::string16> /* labels */) 273 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698