| 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, |
| 346 autofill::PasswordForm) |
| 347 |
| 348 // Instructs the browser that form no longer contains a generated password and |
| 349 // the presaved form should be removed. |
| 345 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordNoLongerGenerated, | 350 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordNoLongerGenerated, |
| 346 autofill::PasswordForm) | 351 autofill::PasswordForm) |
| 347 | 352 |
| 348 // Instruct the browser to show a popup with suggestions filled from data | 353 // Instruct the browser to show a popup with suggestions filled from data |
| 349 // associated with |key|. The popup will use |text_direction| for displaying | 354 // associated with |key|. The popup will use |text_direction| for displaying |
| 350 // text. | 355 // text. |
| 351 IPC_MESSAGE_ROUTED5( | 356 IPC_MESSAGE_ROUTED5( |
| 352 AutofillHostMsg_ShowPasswordSuggestions, | 357 AutofillHostMsg_ShowPasswordSuggestions, |
| 353 int /* key */, | 358 int /* key */, |
| 354 base::i18n::TextDirection /* text_direction */, | 359 base::i18n::TextDirection /* text_direction */, |
| 355 base::string16 /* username typed by user */, | 360 base::string16 /* username typed by user */, |
| 356 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, | 361 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, |
| 357 gfx::RectF /* input field bounds, window-relative */) | 362 gfx::RectF /* input field bounds, window-relative */) |
| 358 | 363 |
| 359 // Inform browser of data list values for the curent field. | 364 // Inform browser of data list values for the curent field. |
| 360 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 365 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 361 std::vector<base::string16> /* values */, | 366 std::vector<base::string16> /* values */, |
| 362 std::vector<base::string16> /* labels */) | 367 std::vector<base::string16> /* labels */) |
| 363 | 368 |
| 364 // Inform the browser which password form is currently focused, as a response | 369 // Inform the browser which password form is currently focused, as a response |
| 365 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form | 370 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form |
| 366 // is focused, the response will contain an empty |autofill::PasswordForm|. | 371 // is focused, the response will contain an empty |autofill::PasswordForm|. |
| 367 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, | 372 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, |
| 368 autofill::PasswordForm) | 373 autofill::PasswordForm) |
| OLD | NEW |