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/form_data.h" | 13 #include "components/autofill/core/common/form_data.h" |
14 #include "components/autofill/core/common/form_data_predictions.h" | 14 #include "components/autofill/core/common/form_data_predictions.h" |
15 #include "components/autofill/core/common/form_field_data.h" | 15 #include "components/autofill/core/common/form_field_data.h" |
16 #include "components/autofill/core/common/form_field_data_predictions.h" | 16 #include "components/autofill/core/common/form_field_data_predictions.h" |
17 #include "components/autofill/core/common/password_form.h" | 17 #include "components/autofill/core/common/password_form.h" |
18 #include "components/autofill/core/common/password_form_fill_data.h" | 18 #include "components/autofill/core/common/password_form_fill_data.h" |
19 #include "components/autofill/core/common/web_element_descriptor.h" | 19 #include "components/autofill/core/common/web_element_descriptor.h" |
20 #include "content/public/common/common_param_traits.h" | 20 #include "content/public/common/common_param_traits.h" |
21 #include "content/public/common/common_param_traits_macros.h" | 21 #include "content/public/common/common_param_traits_macros.h" |
22 #include "ipc/ipc_message_macros.h" | 22 #include "ipc/ipc_message_macros.h" |
23 #include "ipc/ipc_message_utils.h" | 23 #include "ipc/ipc_message_utils.h" |
24 #include "third_party/WebKit/public/web/WebFormElement.h" | 24 #include "third_party/WebKit/public/web/WebFormElement.h" |
| 25 #include "ui/gfx/geometry/rect.h" |
25 #include "ui/gfx/ipc/gfx_param_traits.h" | 26 #include "ui/gfx/ipc/gfx_param_traits.h" |
26 #include "ui/gfx/rect.h" | |
27 #include "url/gurl.h" | 27 #include "url/gurl.h" |
28 | 28 |
29 #define IPC_MESSAGE_START AutofillMsgStart | 29 #define IPC_MESSAGE_START AutofillMsgStart |
30 | 30 |
31 IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormFieldData::RoleAttribute, | 31 IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormFieldData::RoleAttribute, |
32 autofill::FormFieldData::ROLE_ATTRIBUTE_OTHER) | 32 autofill::FormFieldData::ROLE_ATTRIBUTE_OTHER) |
33 | 33 |
34 IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection, | 34 IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection, |
35 base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1) | 35 base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1) |
36 | 36 |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 int /* key */, | 312 int /* key */, |
313 base::i18n::TextDirection /* text_direction */, | 313 base::i18n::TextDirection /* text_direction */, |
314 base::string16 /* username typed by user */, | 314 base::string16 /* username typed by user */, |
315 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, | 315 int /* options bitmask of autofill::ShowPasswordSuggestionsOptions */, |
316 gfx::RectF /* input field bounds, window-relative */) | 316 gfx::RectF /* input field bounds, window-relative */) |
317 | 317 |
318 // Inform browser of data list values for the curent field. | 318 // Inform browser of data list values for the curent field. |
319 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, | 319 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, |
320 std::vector<base::string16> /* values */, | 320 std::vector<base::string16> /* values */, |
321 std::vector<base::string16> /* labels */) | 321 std::vector<base::string16> /* labels */) |
OLD | NEW |