Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: components/autofill/content/common/autofill_messages.h

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mem leak Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 IPC_STRUCT_TRAITS_MEMBER(password) 93 IPC_STRUCT_TRAITS_MEMBER(password)
94 IPC_STRUCT_TRAITS_MEMBER(realm) 94 IPC_STRUCT_TRAITS_MEMBER(realm)
95 IPC_STRUCT_TRAITS_END() 95 IPC_STRUCT_TRAITS_END()
96 96
97 IPC_ENUM_TRAITS_MAX_VALUE( 97 IPC_ENUM_TRAITS_MAX_VALUE(
98 blink::WebFormElement::AutocompleteResult, 98 blink::WebFormElement::AutocompleteResult,
99 blink::WebFormElement::AutocompleteResultErrorInvalid) 99 blink::WebFormElement::AutocompleteResultErrorInvalid)
100 100
101 // Autofill messages sent from the browser to the renderer. 101 // Autofill messages sent from the browser to the renderer.
102 102
103 // Tells the render frame that a user gesture was observed somewhere in the tab
104 // (including in a different frame).
105 IPC_MESSAGE_ROUTED0(AutofillMsg_FirstUserGestureObservedInTab)
106
103 // Instructs the renderer to immediately return an IPC acknowledging the ping. 107 // Instructs the renderer to immediately return an IPC acknowledging the ping.
104 // This is used to correctly sequence events, since IPCs are guaranteed to be 108 // This is used to correctly sequence events, since IPCs are guaranteed to be
105 // processed in order. 109 // processed in order.
106 IPC_MESSAGE_ROUTED0(AutofillMsg_Ping) 110 IPC_MESSAGE_ROUTED0(AutofillMsg_Ping)
107 111
108 // Instructs the renderer to fill the active form with the given form data. 112 // Instructs the renderer to fill the active form with the given form data.
109 IPC_MESSAGE_ROUTED2(AutofillMsg_FillForm, 113 IPC_MESSAGE_ROUTED2(AutofillMsg_FillForm,
110 int /* query_id */, 114 int /* query_id */,
111 autofill::FormData /* form */) 115 autofill::FormData /* form */)
112 116
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Sent when Autofill manager gets the query response from the Autofill server 189 // Sent when Autofill manager gets the query response from the Autofill server
186 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response. 190 // and there are fields classified as ACCOUNT_CREATION_PASSWORD in the response.
187 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected, 191 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected,
188 std::vector<autofill::FormData> /* forms */) 192 std::vector<autofill::FormData> /* forms */)
189 193
190 // Autofill messages sent from the renderer to the browser. 194 // Autofill messages sent from the renderer to the browser.
191 195
192 // TODO(creis): check in the browser that the renderer actually has permission 196 // TODO(creis): check in the browser that the renderer actually has permission
193 // for the URL to avoid compromised renderers talking to the browser. 197 // for the URL to avoid compromised renderers talking to the browser.
194 198
199 // Notification that there has been a user gesture.
200 IPC_MESSAGE_ROUTED0(AutofillHostMsg_FirstUserGestureObserved)
201
195 // Notification that forms have been seen that are candidates for 202 // Notification that forms have been seen that are candidates for
196 // filling/submitting by the AutofillManager. 203 // filling/submitting by the AutofillManager.
197 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen, 204 IPC_MESSAGE_ROUTED2(AutofillHostMsg_FormsSeen,
198 std::vector<autofill::FormData> /* forms */, 205 std::vector<autofill::FormData> /* forms */,
199 base::TimeTicks /* timestamp */) 206 base::TimeTicks /* timestamp */)
200 207
201 // Notification that password forms have been seen that are candidates for 208 // Notification that password forms have been seen that are candidates for
202 // filling/submitting by the password manager. 209 // filling/submitting by the password manager.
203 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed, 210 IPC_MESSAGE_ROUTED1(AutofillHostMsg_PasswordFormsParsed,
204 std::vector<autofill::PasswordForm> /* forms */) 211 std::vector<autofill::PasswordForm> /* forms */)
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 int /* key */, 302 int /* key */,
296 base::i18n::TextDirection /*text_direction */, 303 base::i18n::TextDirection /*text_direction */,
297 base::string16 /* username typed by user */, 304 base::string16 /* username typed by user */,
298 bool /* show all suggestions */, 305 bool /* show all suggestions */,
299 gfx::RectF /* input field bounds, window-relative */) 306 gfx::RectF /* input field bounds, window-relative */)
300 307
301 // Inform browser of data list values for the curent field. 308 // Inform browser of data list values for the curent field.
302 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 309 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
303 std::vector<base::string16> /* values */, 310 std::vector<base::string16> /* values */,
304 std::vector<base::string16> /* labels */) 311 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698