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

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

Issue 11821020: Chrome-side implementation of AutocompleteErrorEvent#reason. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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.h" 9 #include "base/time.h"
10 #include "chrome/common/common_param_traits_macros.h" 10 #include "chrome/common/common_param_traits_macros.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 // Tells the renderer that the password field has accept the suggestion. 131 // Tells the renderer that the password field has accept the suggestion.
132 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion, 132 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
133 string16 /* username value*/) 133 string16 /* username value*/)
134 134
135 // Tells the renderer that this password form is not blacklisted. A form can 135 // Tells the renderer that this password form is not blacklisted. A form can
136 // be blacklisted if a user chooses "never save passwords for this site". 136 // be blacklisted if a user chooses "never save passwords for this site".
137 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 137 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
138 content::PasswordForm /* form checked */) 138 content::PasswordForm /* form checked */)
139 139
140 // Sent when requestAutocomplete() succeeds. Tells the renderer to Autofill the 140 // Sent when requestAutocomplete() finishes (either succesfully or with an
141 // form that requested autocomplete with the |form_data| values input by the 141 // error). If it was a success, the renderer fills the form that requested
142 // user. 142 // autocomplete with the |form_data| values input by the user.
143 IPC_MESSAGE_ROUTED1(AutofillMsg_RequestAutocompleteSuccess, 143 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult,
144 WebKit::WebFormElement::AutocompleteResult /* result */,
144 FormData /* form_data */) 145 FormData /* form_data */)
145 146
146 // Sent when requestAutocomplete() fails. Currently, this happens when a form is
147 // requested to be autocompleted with no input or select tags with autocomplete
148 // attributes.
149 IPC_MESSAGE_ROUTED0(AutofillMsg_RequestAutocompleteError)
150
151 // Autofill messages sent from the renderer to the browser. 147 // Autofill messages sent from the renderer to the browser.
152 148
153 // TODO(creis): check in the browser that the renderer actually has permission 149 // TODO(creis): check in the browser that the renderer actually has permission
154 // for the URL to avoid compromised renderers talking to the browser. 150 // for the URL to avoid compromised renderers talking to the browser.
155 151
156 // Notification that forms have been seen that are candidates for 152 // Notification that forms have been seen that are candidates for
157 // filling/submitting by the AutofillManager. 153 // filling/submitting by the AutofillManager.
158 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 154 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
159 std::vector<FormData> /* forms */, 155 std::vector<FormData> /* forms */,
160 base::TimeTicks /* timestamp */) 156 base::TimeTicks /* timestamp */)
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 FormFieldData /* the form field */, 243 FormFieldData /* the form field */,
248 gfx::Rect /* input field bounds, window-relative */, 244 gfx::Rect /* input field bounds, window-relative */,
249 std::vector<string16> /* suggestions */) 245 std::vector<string16> /* suggestions */)
250 246
251 // Inform browser of data list values for the curent field. 247 // Inform browser of data list values for the curent field.
252 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList, 248 IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,
253 std::vector<string16> /* values */, 249 std::vector<string16> /* values */,
254 std::vector<string16> /* labels */, 250 std::vector<string16> /* labels */,
255 std::vector<string16> /* icons */, 251 std::vector<string16> /* icons */,
256 std::vector<int> /* unique ids */) 252 std::vector<int> /* unique ids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698