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

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

Issue 98753005: [Autofill] Sanitize all data that comes in over IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Loosen kMaxListSize a notch Created 6 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 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 // Sent when a form is filled with Autofill suggestions. 220 // Sent when a form is filled with Autofill suggestions.
221 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData, 221 IPC_MESSAGE_ROUTED1(AutofillHostMsg_DidFillAutofillFormData,
222 base::TimeTicks /* timestamp */) 222 base::TimeTicks /* timestamp */)
223 223
224 // Sent when a form receives a request to do interactive autocomplete. 224 // Sent when a form receives a request to do interactive autocomplete.
225 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete, 225 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RequestAutocomplete,
226 autofill::FormData /* form_data */, 226 autofill::FormData /* form_data */,
227 GURL /* frame_url */) 227 GURL /* frame_url */)
228 228
229 // Instructs the browser to show the Autofill dialog.
230 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog)
231
232 // Send when a text field is done editing. 229 // Send when a text field is done editing.
233 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) 230 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing)
234 231
235 // Instructs the browser to hide the Autofill UI. 232 // Instructs the browser to hide the Autofill UI.
236 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUI) 233 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillUI)
237 234
238 // Instructs the browser to show the password generation bubble at the 235 // Instructs the browser to show the password generation bubble at the
239 // specified location. This location should be specified in the renderers 236 // specified location. This location should be specified in the renderers
240 // coordinate system. Form is the form associated with the password field. 237 // coordinate system. Form is the form associated with the password field.
241 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup, 238 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup,
(...skipping 11 matching lines...) Expand all
253 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 250 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
254 autofill::FormFieldData /* the form field */, 251 autofill::FormFieldData /* the form field */,
255 gfx::RectF /* input field bounds, window-relative */, 252 gfx::RectF /* input field bounds, window-relative */,
256 std::vector<base::string16> /* suggestions */, 253 std::vector<base::string16> /* suggestions */,
257 std::vector<base::string16> /* realms */) 254 std::vector<base::string16> /* realms */)
258 255
259 // Inform browser of data list values for the curent field. 256 // Inform browser of data list values for the curent field.
260 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 257 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
261 std::vector<base::string16> /* values */, 258 std::vector<base::string16> /* values */,
262 std::vector<base::string16> /* labels */) 259 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698