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" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "components/autofill/content/common/autofill_param_traits_macros.h" | 12 #include "components/autofill/content/common/autofill_param_traits_macros.h" |
| 13 #include "components/autofill/core/common/autofill_constants.h" | |
| 13 #include "components/autofill/core/common/form_data.h" | 14 #include "components/autofill/core/common/form_data.h" |
| 14 #include "components/autofill/core/common/form_data_predictions.h" | 15 #include "components/autofill/core/common/form_data_predictions.h" |
| 15 #include "components/autofill/core/common/form_field_data.h" | 16 #include "components/autofill/core/common/form_field_data.h" |
| 16 #include "components/autofill/core/common/form_field_data_predictions.h" | 17 #include "components/autofill/core/common/form_field_data_predictions.h" |
| 17 #include "components/autofill/core/common/password_form.h" | 18 #include "components/autofill/core/common/password_form.h" |
| 18 #include "components/autofill/core/common/password_form_fill_data.h" | 19 #include "components/autofill/core/common/password_form_fill_data.h" |
| 19 #include "components/autofill/core/common/web_element_descriptor.h" | 20 #include "components/autofill/core/common/web_element_descriptor.h" |
| 20 #include "content/public/common/common_param_traits.h" | 21 #include "content/public/common/common_param_traits.h" |
| 21 #include "content/public/common/common_param_traits_macros.h" | 22 #include "content/public/common/common_param_traits_macros.h" |
| 22 #include "ipc/ipc_message_macros.h" | 23 #include "ipc/ipc_message_macros.h" |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 279 IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordEditingPopup, | 280 IPC_MESSAGE_ROUTED2(AutofillHostMsg_ShowPasswordEditingPopup, |
| 280 gfx::RectF /* source location */, | 281 gfx::RectF /* source location */, |
| 281 autofill::PasswordForm) | 282 autofill::PasswordForm) |
| 282 | 283 |
| 283 // Instructs the browser to hide any password generation popups. | 284 // Instructs the browser to hide any password generation popups. |
| 284 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) | 285 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HidePasswordGenerationPopup) |
| 285 | 286 |
| 286 // Instruct the browser to show a popup with suggestions filled from data | 287 // Instruct the browser to show a popup with suggestions filled from data |
| 287 // associated with |key|. The popup will use |text_direction| for displaying | 288 // associated with |key|. The popup will use |text_direction| for displaying |
| 288 // text. | 289 // text. |
| 289 IPC_MESSAGE_ROUTED5(AutofillHostMsg_ShowPasswordSuggestions, | 290 IPC_MESSAGE_ROUTED5( |
| 290 int /* key */, | 291 AutofillHostMsg_ShowPasswordSuggestions, |
| 291 base::i18n::TextDirection /*text_direction */, | 292 int /* key */, |
| 292 base::string16 /* username typed by user */, | 293 base::i18n::TextDirection /*text_direction */, |
| 293 bool /* show all suggestions */, | 294 base::string16 /* username typed by user */, |
| 294 gfx::RectF /* input field bounds, window-relative */) | 295 int /* show all suggestions and the field is a password field options */, |
|
Garrett Casto
2014/11/23 07:49:48
I think that keeping the two boolean arguments her
jww
2014/11/25 02:46:26
If you feel strongly about it, I can make the chan
| |
| 296 gfx::RectF /* input field bounds, window-relative */) | |
| 295 | 297 |
| 296 // Inform browser of data list values for the curent field. | 298 // Inform browser of data list values for the curent field. |
| 297 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 299 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 298 std::vector<base::string16> /* values */, | 300 std::vector<base::string16> /* values */, |
| 299 std::vector<base::string16> /* labels */) | 301 std::vector<base::string16> /* labels */) |
| OLD | NEW |