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

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

Issue 2055633003: [Password Generation] Sends form classifier vote to autofill server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pg_form_classification
Patch Set: replaced " DCHECK(client_->IsSavingAndFillingEnabledForCurrentPage()) Created 4 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
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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 326
327 // Instructs the browser to presave the form with generated password. 327 // Instructs the browser to presave the form with generated password.
328 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PresaveGeneratedPassword, 328 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PresaveGeneratedPassword,
329 autofill::PasswordForm) 329 autofill::PasswordForm)
330 330
331 // Instructs the browser that form no longer contains a generated password and 331 // Instructs the browser that form no longer contains a generated password and
332 // the presaved form should be removed. 332 // the presaved form should be removed.
333 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordNoLongerGenerated, 333 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordNoLongerGenerated,
334 autofill::PasswordForm) 334 autofill::PasswordForm)
335 335
336 // Sends the outcome of HTML parsing based form classifier that detects the
337 // forms where password generation should be available.
338 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SaveGenerationFieldDetectedByClassifier,
339 autofill::PasswordForm,
340 base::string16 /* generation field */)
341
336 // Instruct the browser to show a popup with suggestions filled from data 342 // Instruct the browser to show a popup with suggestions filled from data
337 // associated with |key|. The popup will use |text_direction| for displaying 343 // associated with |key|. The popup will use |text_direction| for displaying
338 // text. 344 // text.
339 IPC_MESSAGE_ROUTED5( 345 IPC_MESSAGE_ROUTED5(
340 AutofillHostMsg_ShowPasswordSuggestions, 346 AutofillHostMsg_ShowPasswordSuggestions,
341 int /* key */, 347 int /* key */,
342 base::i18n::TextDirection /* text_direction */, 348 base::i18n::TextDirection /* text_direction */,
343 base::string16 /* username typed by user */, 349 base::string16 /* username typed by user */,
344 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, 350 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */,
345 gfx::RectF /* input field bounds, window-relative */) 351 gfx::RectF /* input field bounds, window-relative */)
346 352
347 // Inform browser of data list values for the curent field. 353 // Inform browser of data list values for the curent field.
348 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 354 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
349 std::vector<base::string16> /* values */, 355 std::vector<base::string16> /* values */,
350 std::vector<base::string16> /* labels */) 356 std::vector<base::string16> /* labels */)
351 357
352 // Inform the browser which password form is currently focused, as a response 358 // Inform the browser which password form is currently focused, as a response
353 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form 359 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form
354 // is focused, the response will contain an empty |autofill::PasswordForm|. 360 // is focused, the response will contain an empty |autofill::PasswordForm|.
355 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, 361 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound,
356 autofill::PasswordForm) 362 autofill::PasswordForm)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698