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

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

Issue 1161023008: Suggest to fill password change forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests, addressed comments Created 5 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 IPC_STRUCT_TRAITS_MEMBER(name) 89 IPC_STRUCT_TRAITS_MEMBER(name)
90 IPC_STRUCT_TRAITS_MEMBER(origin) 90 IPC_STRUCT_TRAITS_MEMBER(origin)
91 IPC_STRUCT_TRAITS_MEMBER(action) 91 IPC_STRUCT_TRAITS_MEMBER(action)
92 IPC_STRUCT_TRAITS_MEMBER(user_submitted) 92 IPC_STRUCT_TRAITS_MEMBER(user_submitted)
93 IPC_STRUCT_TRAITS_MEMBER(username_field) 93 IPC_STRUCT_TRAITS_MEMBER(username_field)
94 IPC_STRUCT_TRAITS_MEMBER(password_field) 94 IPC_STRUCT_TRAITS_MEMBER(password_field)
95 IPC_STRUCT_TRAITS_MEMBER(preferred_realm) 95 IPC_STRUCT_TRAITS_MEMBER(preferred_realm)
96 IPC_STRUCT_TRAITS_MEMBER(additional_logins) 96 IPC_STRUCT_TRAITS_MEMBER(additional_logins)
97 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) 97 IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames)
98 IPC_STRUCT_TRAITS_MEMBER(wait_for_username) 98 IPC_STRUCT_TRAITS_MEMBER(wait_for_username)
99 IPC_STRUCT_TRAITS_MEMBER(is_password_change_form)
99 IPC_STRUCT_TRAITS_END() 100 IPC_STRUCT_TRAITS_END()
100 101
101 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm) 102 IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm)
102 IPC_STRUCT_TRAITS_MEMBER(password) 103 IPC_STRUCT_TRAITS_MEMBER(password)
103 IPC_STRUCT_TRAITS_MEMBER(realm) 104 IPC_STRUCT_TRAITS_MEMBER(realm)
104 IPC_STRUCT_TRAITS_END() 105 IPC_STRUCT_TRAITS_END()
105 106
106 IPC_ENUM_TRAITS_MAX_VALUE( 107 IPC_ENUM_TRAITS_MAX_VALUE(
107 blink::WebFormElement::AutocompleteResult, 108 blink::WebFormElement::AutocompleteResult,
108 blink::WebFormElement::AutocompleteResultErrorInvalid) 109 blink::WebFormElement::AutocompleteResultErrorInvalid)
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Inform browser of data list values for the curent field. 348 // Inform browser of data list values for the curent field.
348 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 349 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
349 std::vector<base::string16> /* values */, 350 std::vector<base::string16> /* values */,
350 std::vector<base::string16> /* labels */) 351 std::vector<base::string16> /* labels */)
351 352
352 // Inform the browser which password form is currently focused, as a response 353 // Inform the browser which password form is currently focused, as a response
353 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form 354 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form
354 // is focused, the response will contain an empty |autofill::PasswordForm|. 355 // is focused, the response will contain an empty |autofill::PasswordForm|.
355 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, 356 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound,
356 autofill::PasswordForm) 357 autofill::PasswordForm)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698