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

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

Issue 336763002: Password internals page: notify renderer about logging state on client construction (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a ping message renderer->browser for logging activity update 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 | Annotate | Revision Log
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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.)
199 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered, 199 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsRendered,
200 std::vector<autofill::PasswordForm> /* forms */) 200 std::vector<autofill::PasswordForm> /* forms */)
201 201
202 // A ping to the browser to send AutofillMsg_ChangeLoggingState with the current
Ilya Sherman 2014/06/14 00:50:39 nit: Perhaps we should update the IPC message to b
vabr (Chromium) 2014/06/20 10:47:04 Done.
203 // state of the logging activity. This is called when the PasswordAutofillAgent
204 // is constructed.
205 IPC_MESSAGE_ROUTED0(AutofillHostMsg_UpdateLoggingState);
engedy 2014/06/16 09:13:38 I think this name is somewhat misleading: it sugge
vabr (Chromium) 2014/06/20 10:47:04 Done.
206
202 // Notification that this password form was submitted by the user. 207 // Notification that this password form was submitted by the user.
203 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted, 208 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormSubmitted,
204 autofill::PasswordForm /* form */) 209 autofill::PasswordForm /* form */)
205 210
206 // Sends |log| to browser for displaying to the user. Only strings passed as an 211 // Sends |log| to browser for displaying to the user. Only strings passed as an
207 // argument to methods overriding SavePasswordProgressLogger::SendLog may become 212 // argument to methods overriding SavePasswordProgressLogger::SendLog may become
208 // |log|, because those are guaranteed to be sanitized. Never pass a free-form 213 // |log|, because those are guaranteed to be sanitized. Never pass a free-form
209 // string as |log|. 214 // string as |log|.
210 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress, 215 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RecordSavePasswordProgress,
211 std::string /* log */) 216 std::string /* log */)
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 287 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
283 autofill::FormFieldData /* the form field */, 288 autofill::FormFieldData /* the form field */,
284 gfx::RectF /* input field bounds, window-relative */, 289 gfx::RectF /* input field bounds, window-relative */,
285 std::vector<base::string16> /* suggestions */, 290 std::vector<base::string16> /* suggestions */,
286 std::vector<base::string16> /* realms */) 291 std::vector<base::string16> /* realms */)
287 292
288 // Inform browser of data list values for the curent field. 293 // Inform browser of data list values for the curent field.
289 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 294 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
290 std::vector<base::string16> /* values */, 295 std::vector<base::string16> /* values */,
291 std::vector<base::string16> /* labels */) 296 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698