OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 8 |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "content/public/common/webkit_param_traits.h" | 10 #include "content/public/common/webkit_param_traits.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 // Send the heuristic and server field type predictions to the renderer. | 86 // Send the heuristic and server field type predictions to the renderer. |
87 IPC_MESSAGE_ROUTED1( | 87 IPC_MESSAGE_ROUTED1( |
88 AutofillMsg_FieldTypePredictionsAvailable, | 88 AutofillMsg_FieldTypePredictionsAvailable, |
89 std::vector<webkit_glue::FormDataPredictions> /* forms */) | 89 std::vector<webkit_glue::FormDataPredictions> /* forms */) |
90 | 90 |
91 // Select an Autofill item when using an external delegate. | 91 // Select an Autofill item when using an external delegate. |
92 IPC_MESSAGE_ROUTED1(AutofillMsg_SelectAutofillSuggestionAtIndex, | 92 IPC_MESSAGE_ROUTED1(AutofillMsg_SelectAutofillSuggestionAtIndex, |
93 int /* listIndex */) | 93 int /* listIndex */) |
94 | 94 |
| 95 // Inform the renderer that the browser has an external delegate |
| 96 // that will display the Autofill popup. |
| 97 IPC_MESSAGE_ROUTED1(AutofillMsg_SetHasExternalDelegate, |
| 98 bool /* has_external_delegate */) |
| 99 |
95 // Autofill messages sent from the renderer to the browser. | 100 // Autofill messages sent from the renderer to the browser. |
96 | 101 |
97 // Notification that forms have been seen that are candidates for | 102 // Notification that forms have been seen that are candidates for |
98 // filling/submitting by the AutofillManager. | 103 // filling/submitting by the AutofillManager. |
99 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, | 104 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, |
100 std::vector<webkit_glue::FormData> /* forms */, | 105 std::vector<webkit_glue::FormData> /* forms */, |
101 base::TimeTicks /* timestamp */) | 106 base::TimeTicks /* timestamp */) |
102 | 107 |
103 // Notification that password forms have been seen that are candidates for | 108 // Notification that password forms have been seen that are candidates for |
104 // filling/submitting by the password manager. | 109 // filling/submitting by the password manager. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 153 |
149 // Instructs the browser to remove the specified Autocomplete entry from the | 154 // Instructs the browser to remove the specified Autocomplete entry from the |
150 // database. | 155 // database. |
151 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, | 156 IPC_MESSAGE_ROUTED2(AutofillHostMsg_RemoveAutocompleteEntry, |
152 string16 /* field name */, | 157 string16 /* field name */, |
153 string16 /* value */) | 158 string16 /* value */) |
154 | 159 |
155 // Instructs the browser to show the Autofill dialog. | 160 // Instructs the browser to show the Autofill dialog. |
156 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) | 161 IPC_MESSAGE_ROUTED0(AutofillHostMsg_ShowAutofillDialog) |
157 | 162 |
| 163 // Instructs the browser to hide the Autofill popup. |
| 164 IPC_MESSAGE_ROUTED0(AutofillHostMsg_HideAutofillPopup) |
158 | 165 |
| 166 // Messages to the Autofill delegate (which lives in the browser) from the |
| 167 // renderer. |
| 168 |
| 169 // Tells the external delegate where the element it is working on appears. |
| 170 IPC_MESSAGE_ROUTED4(AutofillHostMsg_AutofillElementBounds, |
| 171 int /* x */, |
| 172 int /* y */, |
| 173 int /* width */, |
| 174 int /* height */) |
OLD | NEW |