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

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

Issue 223133003: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: check Created 6 years, 8 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 9
9 #include "base/time/time.h" 10 #include "base/time/time.h"
10 #include "components/autofill/content/common/autofill_param_traits_macros.h" 11 #include "components/autofill/content/common/autofill_param_traits_macros.h"
11 #include "components/autofill/core/common/form_data.h" 12 #include "components/autofill/core/common/form_data.h"
12 #include "components/autofill/core/common/form_data_predictions.h" 13 #include "components/autofill/core/common/form_data_predictions.h"
13 #include "components/autofill/core/common/form_field_data.h" 14 #include "components/autofill/core/common/form_field_data.h"
14 #include "components/autofill/core/common/form_field_data_predictions.h" 15 #include "components/autofill/core/common/form_field_data_predictions.h"
15 #include "components/autofill/core/common/forms_seen_state.h" 16 #include "components/autofill/core/common/forms_seen_state.h"
16 #include "components/autofill/core/common/password_form.h" 17 #include "components/autofill/core/common/password_form.h"
17 #include "components/autofill/core/common/password_form_fill_data.h" 18 #include "components/autofill/core/common/password_form_fill_data.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // autocomplete with the |form_data| values input by the user. 153 // autocomplete with the |form_data| values input by the user.
153 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult, 154 IPC_MESSAGE_ROUTED2(AutofillMsg_RequestAutocompleteResult,
154 blink::WebFormElement::AutocompleteResult /* result */, 155 blink::WebFormElement::AutocompleteResult /* result */,
155 autofill::FormData /* form_data */) 156 autofill::FormData /* form_data */)
156 157
157 // Sent when Autofill manager gets the query response from the Autofill server 158 // Sent when Autofill manager gets the query response from the Autofill server
158 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. 159 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response.
159 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, 160 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected,
160 std::vector<autofill::FormData> /* forms */) 161 std::vector<autofill::FormData> /* forms */)
161 162
163 // Instruct the renderer that a password suggestion has to be removed.
164 // The renderer is going to clean the suggestions it saves and
vabr (Chromium) 2014/04/09 14:06:30 Maybe: "The renderer is going to clear the usernam
rchtara 2014/04/09 15:28:20 Done.
165 // then ask the password manager to remove the password from the store.
166 IPC_MESSAGE_ROUTED0(AutofillMsg_RemoveSavedPassword)
167
162 // Autofill messages sent from the renderer to the browser. 168 // Autofill messages sent from the renderer to the browser.
163 169
164 // TODO(creis): check in the browser that the renderer actually has permission 170 // TODO(creis): check in the browser that the renderer actually has permission
165 // for the URL to avoid compromised renderers talking to the browser. 171 // for the URL to avoid compromised renderers talking to the browser.
166 172
167 // Notification that forms have been seen that are candidates for 173 // Notification that forms have been seen that are candidates for
168 // filling/submitting by the AutofillManager. 174 // filling/submitting by the AutofillManager.
169 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen, 175 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen,
170 std::vector<autofill::FormData> /* forms */, 176 std::vector<autofill::FormData> /* forms */,
171 base::TimeTicks /* timestamp */, 177 base::TimeTicks /* timestamp */,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 autofill::PasswordFormFillData /* password pairings */) 256 autofill::PasswordFormFillData /* password pairings */)
251 257
252 // 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
253 // password manager. 259 // password manager.
254 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 260 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
255 autofill::FormFieldData /* the form field */, 261 autofill::FormFieldData /* the form field */,
256 gfx::RectF /* input field bounds, window-relative */, 262 gfx::RectF /* input field bounds, window-relative */,
257 std::vector<base::string16> /* suggestions */, 263 std::vector<base::string16> /* suggestions */,
258 std::vector<base::string16> /* realms */) 264 std::vector<base::string16> /* realms */)
259 265
266 // Instruct the browser that a saved password has to be removed.
267 IPC_MESSAGE_ROUTED1(AutofillHostMsg_RemoveSavedPasswordAndUpdateManagers,
268 autofill::PasswordForm /* the password form */)
269
260 // Inform browser of data list values for the curent field. 270 // Inform browser of data list values for the curent field.
261 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 271 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
262 std::vector<base::string16> /* values */, 272 std::vector<base::string16> /* values */,
263 std::vector<base::string16> /* labels */) 273 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698