Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 334 // Instructs the browser to show the popup for editing a generated password. | 334 // Instructs the browser to show the popup for editing a generated password. |
| 335 // The location should be specified in the renderers coordinate system. Form | 335 // The location should be specified in the renderers coordinate system. Form |
| 336 // is the form associated with the password field. | 336 // is the form associated with the password field. |
| 337 IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordEditingPopup, | 337 IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordEditingPopup, |
| 338 gfx::RectF /* source location */, | 338 gfx::RectF /* source location */, |
| 339 autofill::PasswordForm) | 339 autofill::PasswordForm) |
| 340 | 340 |
| 341 // Instructs the browser to hide any password generation popups. | 341 // Instructs the browser to hide any password generation popups. |
| 342 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) | 342 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) |
| 343 | 343 |
| 344 // Instructs the browsr that form no longer contains a generated password. | 344 // Instructs the browser to presave the form with generated password. |
| 345 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PresaveGeneratedPassword, | |
|
dvadym
2016/04/06 12:44:23
Why do we need 2 messages? It seems that 1 is enou
kolos1
2016/04/07 13:05:18
Done.
| |
| 346 autofill::PasswordForm) | |
| 347 | |
| 348 // Instructs the browser to update the presaved form with generated password. | |
| 349 IPC_MESSAGE_ROUTED1(AutofillHostMsg_UpdatePresavedPassword, | |
| 350 autofill::PasswordForm) | |
| 351 | |
| 352 // Instructs the browser that form no longer contains a generated password and | |
| 353 // the presaved form should be removed. | |
| 345 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordNoLongerGenerated, | 354 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordNoLongerGenerated, |
| 346 autofill::PasswordForm) | 355 autofill::PasswordForm) |
| 347 | 356 |
| 348 // Instruct the browser to show a popup with suggestions filled from data | 357 // Instruct the browser to show a popup with suggestions filled from data |
| 349 // associated with |key|. The popup will use |text_direction| for displaying | 358 // associated with |key|. The popup will use |text_direction| for displaying |
| 350 // text. | 359 // text. |
| 351 IPC_MESSAGE_ROUTED5( | 360 IPC_MESSAGE_ROUTED5( |
| 352 AutofillHostMsg_ShowPasswordSuggestions, | 361 AutofillHostMsg_ShowPasswordSuggestions, |
| 353 int /* key */, | 362 int /* key */, |
| 354 base::i18n::TextDirection /* text_direction */, | 363 base::i18n::TextDirection /* text_direction */, |
| 355 base::string16 /* username typed by user */, | 364 base::string16 /* username typed by user */, |
| 356 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, | 365 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, |
| 357 gfx::RectF /* input field bounds, window-relative */) | 366 gfx::RectF /* input field bounds, window-relative */) |
| 358 | 367 |
| 359 // Inform browser of data list values for the curent field. | 368 // Inform browser of data list values for the curent field. |
| 360 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 369 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 361 std::vector<base::string16> /* values */, | 370 std::vector<base::string16> /* values */, |
| 362 std::vector<base::string16> /* labels */) | 371 std::vector<base::string16> /* labels */) |
| 363 | 372 |
| 364 // Inform the browser which password form is currently focused, as a response | 373 // Inform the browser which password form is currently focused, as a response |
| 365 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form | 374 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form |
| 366 // is focused, the response will contain an empty |autofill::PasswordForm|. | 375 // is focused, the response will contain an empty |autofill::PasswordForm|. |
| 367 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, | 376 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, |
| 368 autofill::PasswordForm) | 377 autofill::PasswordForm) |
| OLD | NEW |