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

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

Issue 147533005: [Password Generation] Update UI to match final mocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replace_password_generation_ui
Patch Set: Created 6 years, 10 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 // Instructs the browser to show the password generation popup at the 235 // Instructs the browser to show the password generation popup at the
236 // specified location. This location should be specified in the renderers 236 // specified location. This location should be specified in the renderers
237 // coordinate system. Form is the form associated with the password field. 237 // coordinate system. Form is the form associated with the password field.
238 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup, 238 IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordGenerationPopup,
239 gfx::RectF /* source location */, 239 gfx::RectF /* source location */,
240 int /* max length of the password */, 240 int /* max length of the password */,
241 autofill::PasswordForm) 241 autofill::PasswordForm)
242 242
243 // Instructs the browser to show the popup for editing a generated password. 243 // Instructs the browser to show the popup for editing a generated password.
244 // The location should be specified in the renderers coordinate system. 244 // The location should be specified in the renderers coordinate system. Form
245 IPC_MESSAGE_ROUTED1(AutofillHostMsg_ShowPasswordEditingPopup, 245 // is the form associated with the password field.
246 gfx::RectF /* source location */) 246 IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordEditingPopup,
247 gfx::RectF /* source location */,
248 autofill::PasswordForm)
247 249
248 // Instructs the browser to hide any password generation popups. 250 // Instructs the browser to hide any password generation popups.
249 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) 251 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup)
250 252
251 // Instruct the browser that a password mapping has been found for a field. 253 // Instruct the browser that a password mapping has been found for a field.
252 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping, 254 IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
253 autofill::FormFieldData, /* the user name field */ 255 autofill::FormFieldData, /* the user name field */
254 autofill::PasswordFormFillData /* password pairings */) 256 autofill::PasswordFormFillData /* password pairings */)
255 257
256 // Instruct the browser to show a popup with the following suggestions from the 258 // Instruct the browser to show a popup with the following suggestions from the
257 // password manager. 259 // password manager.
258 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 260 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
259 autofill::FormFieldData /* the form field */, 261 autofill::FormFieldData /* the form field */,
260 gfx::RectF /* input field bounds, window-relative */, 262 gfx::RectF /* input field bounds, window-relative */,
261 std::vector<base::string16> /* suggestions */, 263 std::vector<base::string16> /* suggestions */,
262 std::vector<base::string16> /* realms */) 264 std::vector<base::string16> /* realms */)
263 265
264 // Inform browser of data list values for the curent field. 266 // Inform browser of data list values for the curent field.
265 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 267 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
266 std::vector<base::string16> /* values */, 268 std::vector<base::string16> /* values */,
267 std::vector<base::string16> /* labels */) 269 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698