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

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

Issue 853523004: Autofill: Set requirements for number of recognized fields in an autofillable form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // Autofill messages sent from the renderer to the browser. 201 // Autofill messages sent from the renderer to the browser.
202 202
203 // TODO(creis): check in the browser that the renderer actually has permission 203 // TODO(creis): check in the browser that the renderer actually has permission
204 // for the URL to avoid compromised renderers talking to the browser. 204 // for the URL to avoid compromised renderers talking to the browser.
205 205
206 // Notification that there has been a user gesture. 206 // Notification that there has been a user gesture.
207 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FirstUserGestureObserved) 207 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FirstUserGestureObserved)
208 208
209 // Notification that forms have been seen that are candidates for 209 // Notification that forms have been seen that are candidates for
210 // filling/submitting by the AutofillManager. 210 // filling/submitting by the AutofillManager.
211 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 211 // If there is no unowned form, the index is size of |forms|.
212 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen,
212 std::vector<autofill::FormData> /* forms */, 213 std::vector<autofill::FormData> /* forms */,
214 size_t /* unowned_form_index */,
213 base::TimeTicks /* timestamp */) 215 base::TimeTicks /* timestamp */)
214 216
215 // Notification that password forms have been seen that are candidates for 217 // Notification that password forms have been seen that are candidates for
216 // filling/submitting by the password manager. 218 // filling/submitting by the password manager.
217 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, 219 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed,
218 std::vector<autofill::PasswordForm> /* forms */) 220 std::vector<autofill::PasswordForm> /* forms */)
219 221
220 // Notification that initial layout has occurred and the following password 222 // Notification that initial layout has occurred and the following password
221 // forms are visible on the page (e.g. not set to display:none.), and whether 223 // forms are visible on the page (e.g. not set to display:none.), and whether
222 // all frames in the page have been rendered. 224 // all frames in the page have been rendered.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 int /* key */, 312 int /* key */,
311 base::i18n::TextDirection /* text_direction */, 313 base::i18n::TextDirection /* text_direction */,
312 base::string16 /* username typed by user */, 314 base::string16 /* username typed by user */,
313 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, 315 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */,
314 gfx::RectF /* input field bounds, window-relative */) 316 gfx::RectF /* input field bounds, window-relative */)
315 317
316 // Inform browser of data list values for the curent field. 318 // Inform browser of data list values for the curent field.
317 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 319 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
318 std::vector<base::string16> /* values */, 320 std::vector<base::string16> /* values */,
319 std::vector<base::string16> /* labels */) 321 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698