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

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

Issue 10458018: This CL does the following: (1) Pass the max_length attribute to the password generator; (2) Update… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Some changes based on the code review. Created 8 years, 6 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 "content/public/common/webkit_param_traits.h" 10 #include "content/public/common/webkit_param_traits.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 // Send when a text field is done editing. 194 // Send when a text field is done editing.
195 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing) 195 IPC_MESSAGE_ROUTED0(AutofillHostMsg_DidEndTextFieldEditing)
196 196
197 // Instructs the browser to hide the Autofill popup. 197 // Instructs the browser to hide the Autofill popup.
198 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup) 198 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup)
199 199
200 // Instructs the browser to show the password generation bubble at the 200 // Instructs the browser to show the password generation bubble at the
201 // specified location. This location should be specified in the renderers 201 // specified location. This location should be specified in the renderers
202 // coordinate system. 202 // coordinate system.
203 IPC_MESSAGE_ROUTED1(AutofillHostMsg_ShowPasswordGenerationPopup, 203 IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordGenerationPopup,
204 gfx::Rect /* source location */) 204 gfx::Rect /* source location */,
205 int /* max length of the password */)
205 206
206 // Instruct the browser that a password mapping has been found for a field. 207 // Instruct the browser that a password mapping has been found for a field.
207 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, 208 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
208 webkit::forms::FormField, /* the user name field */ 209 webkit::forms::FormField, /* the user name field */
209 webkit::forms::PasswordFormFillData /* password pairings */) 210 webkit::forms::PasswordFormFillData /* password pairings */)
210 211
211 // Instruct the browser to show a popup with the following suggestions from the 212 // Instruct the browser to show a popup with the following suggestions from the
212 // password manager. 213 // password manager.
213 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions, 214 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions,
214 webkit::forms::FormField /* the form field */, 215 webkit::forms::FormField /* the form field */,
215 gfx::Rect /* input field bounds, window-relative */, 216 gfx::Rect /* input field bounds, window-relative */,
216 std::vector<string16> /* suggestions */) 217 std::vector<string16> /* suggestions */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698