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

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

Issue 293093002: Don't show "Save password" prompt for a failed login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use exising done.html file for the test case that a iframe doesn't contain any form. Created 6 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 188 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
189 std::vector<autofill::FormData> /* forms */, 189 std::vector<autofill::FormData> /* forms */,
190 base::TimeTicks /* timestamp */) 190 base::TimeTicks /* timestamp */)
191 191
192 // Notification that password forms have been seen that are candidates for 192 // Notification that password forms have been seen that are candidates for
193 // filling/submitting by the password manager. 193 // filling/submitting by the password manager.
194 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, 194 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed,
195 std::vector<autofill::PasswordForm> /* forms */) 195 std::vector<autofill::PasswordForm> /* forms */)
196 196
197 // Notification that initial layout has occurred and the following password 197 // Notification that initial layout has occurred and the following password
198 // forms are visible on the page (e.g. not set to display:none.) 198 // forms are visible on the page (e.g. not set to display:none.), and whether
199 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered, 199 // all frames in the page have been rendered.
200 std::vector<autofill::PasswordForm> /* forms */) 200 IPC_MESSAGE_ROUTED2(AutofillHostMsg_PasswordFormsRendered,
201 std::vector<autofill::PasswordForm> /* forms */,
202 bool /* true if all frames have been rendered */)
Ilya Sherman 2014/06/20 20:31:45 nit: The comment should be a variable name, rather
201 203
202 // Notification that this password form was submitted by the user. 204 // Notification that this password form was submitted by the user.
203 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted, 205 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted,
204 autofill::PasswordForm /* form */) 206 autofill::PasswordForm /* form */)
205 207
206 // Sends |log| to browser for displaying to the user. Only strings passed as an 208 // Sends |log| to browser for displaying to the user. Only strings passed as an
207 // argument to methods overriding SavePasswordProgressLogger::SendLog may become 209 // argument to methods overriding SavePasswordProgressLogger::SendLog may become
208 // |log|, because those are guaranteed to be sanitized. Never pass a free-form 210 // |log|, because those are guaranteed to be sanitized. Never pass a free-form
209 // string as |log|. 211 // string as |log|.
210 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress, 212 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 284 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
283 autofill::FormFieldData /* the form field */, 285 autofill::FormFieldData /* the form field */,
284 gfx::RectF /* input field bounds, window-relative */, 286 gfx::RectF /* input field bounds, window-relative */,
285 std::vector<base::string16> /* suggestions */, 287 std::vector<base::string16> /* suggestions */,
286 std::vector<base::string16> /* realms */) 288 std::vector<base::string16> /* realms */)
287 289
288 // Inform browser of data list values for the curent field. 290 // Inform browser of data list values for the curent field.
289 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 291 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
290 std::vector<base::string16> /* values */, 292 std::vector<base::string16> /* values */,
291 std::vector<base::string16> /* labels */) 293 std::vector<base::string16> /* labels */)
OLDNEW
« no previous file with comments | « chrome/test/data/password/multi_frames.html ('k') | components/autofill/content/renderer/password_autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698