| 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 11 matching lines...) Expand all Loading... |
| 22 #include "content/public/common/common_param_traits_macros.h" | 22 #include "content/public/common/common_param_traits_macros.h" |
| 23 #include "ipc/ipc_message_macros.h" | 23 #include "ipc/ipc_message_macros.h" |
| 24 #include "ipc/ipc_message_utils.h" | 24 #include "ipc/ipc_message_utils.h" |
| 25 #include "ui/gfx/geometry/rect_f.h" | 25 #include "ui/gfx/geometry/rect_f.h" |
| 26 #include "ui/gfx/ipc/gfx_param_traits.h" | 26 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 27 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 27 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
| 28 #include "url/gurl.h" | 28 #include "url/gurl.h" |
| 29 | 29 |
| 30 #define IPC_MESSAGE_START AutofillMsgStart | 30 #define IPC_MESSAGE_START AutofillMsgStart |
| 31 | 31 |
| 32 IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormFieldData::CheckStatus, |
| 33 autofill::FormFieldData::CheckStatus::CHECKED) |
| 34 |
| 32 IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormFieldData::RoleAttribute, | 35 IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormFieldData::RoleAttribute, |
| 33 autofill::FormFieldData::ROLE_ATTRIBUTE_OTHER) | 36 autofill::FormFieldData::ROLE_ATTRIBUTE_OTHER) |
| 34 | 37 |
| 35 IPC_ENUM_TRAITS_MAX_VALUE( | 38 IPC_ENUM_TRAITS_MAX_VALUE( |
| 36 autofill::PasswordFormFieldPredictionType, | 39 autofill::PasswordFormFieldPredictionType, |
| 37 autofill::PasswordFormFieldPredictionType::PREDICTION_MAX) | 40 autofill::PasswordFormFieldPredictionType::PREDICTION_MAX) |
| 38 | 41 |
| 39 IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection, | 42 IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection, |
| 40 base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1) | 43 base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1) |
| 41 | 44 |
| 42 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldData) | 45 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldData) |
| 43 IPC_STRUCT_TRAITS_MEMBER(label) | 46 IPC_STRUCT_TRAITS_MEMBER(label) |
| 44 IPC_STRUCT_TRAITS_MEMBER(name) | 47 IPC_STRUCT_TRAITS_MEMBER(name) |
| 45 IPC_STRUCT_TRAITS_MEMBER(value) | 48 IPC_STRUCT_TRAITS_MEMBER(value) |
| 46 IPC_STRUCT_TRAITS_MEMBER(form_control_type) | 49 IPC_STRUCT_TRAITS_MEMBER(form_control_type) |
| 47 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute) | 50 IPC_STRUCT_TRAITS_MEMBER(autocomplete_attribute) |
| 48 IPC_STRUCT_TRAITS_MEMBER(placeholder) | 51 IPC_STRUCT_TRAITS_MEMBER(placeholder) |
| 49 IPC_STRUCT_TRAITS_MEMBER(role) | 52 IPC_STRUCT_TRAITS_MEMBER(role) |
| 50 IPC_STRUCT_TRAITS_MEMBER(max_length) | 53 IPC_STRUCT_TRAITS_MEMBER(max_length) |
| 51 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) | 54 IPC_STRUCT_TRAITS_MEMBER(is_autofilled) |
| 52 IPC_STRUCT_TRAITS_MEMBER(is_checked) | 55 IPC_STRUCT_TRAITS_MEMBER(check_status) |
| 53 IPC_STRUCT_TRAITS_MEMBER(is_checkable) | |
| 54 IPC_STRUCT_TRAITS_MEMBER(is_focusable) | 56 IPC_STRUCT_TRAITS_MEMBER(is_focusable) |
| 55 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) | 57 IPC_STRUCT_TRAITS_MEMBER(should_autocomplete) |
| 56 IPC_STRUCT_TRAITS_MEMBER(text_direction) | 58 IPC_STRUCT_TRAITS_MEMBER(text_direction) |
| 57 IPC_STRUCT_TRAITS_MEMBER(option_values) | 59 IPC_STRUCT_TRAITS_MEMBER(option_values) |
| 58 IPC_STRUCT_TRAITS_MEMBER(option_contents) | 60 IPC_STRUCT_TRAITS_MEMBER(option_contents) |
| 59 IPC_STRUCT_TRAITS_END() | 61 IPC_STRUCT_TRAITS_END() |
| 60 | 62 |
| 61 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldDataPredictions) | 63 IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldDataPredictions) |
| 62 IPC_STRUCT_TRAITS_MEMBER(field) | 64 IPC_STRUCT_TRAITS_MEMBER(field) |
| 63 IPC_STRUCT_TRAITS_MEMBER(signature) | 65 IPC_STRUCT_TRAITS_MEMBER(signature) |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 // Inform browser of data list values for the curent field. | 341 // Inform browser of data list values for the curent field. |
| 340 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 342 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
| 341 std::vector<base::string16> /* values */, | 343 std::vector<base::string16> /* values */, |
| 342 std::vector<base::string16> /* labels */) | 344 std::vector<base::string16> /* labels */) |
| 343 | 345 |
| 344 // Inform the browser which password form is currently focused, as a response | 346 // Inform the browser which password form is currently focused, as a response |
| 345 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form | 347 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form |
| 346 // is focused, the response will contain an empty |autofill::PasswordForm|. | 348 // is focused, the response will contain an empty |autofill::PasswordForm|. |
| 347 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, | 349 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, |
| 348 autofill::PasswordForm) | 350 autofill::PasswordForm) |
| OLD | NEW |