diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 21:35:03 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 21:35:03 +0000 |
commit | 0ebf38756f3a68b30fe0d8e9336dbfafda52b5d5 (patch) | |
tree | a9ce0236b330fab3f39124c52fa0c1f184eb3965 /chrome/common | |
parent | 5e91242859811aef980a929253e6c33eb2cfec6e (diff) | |
download | chromium_src-0ebf38756f3a68b30fe0d8e9336dbfafda52b5d5.zip chromium_src-0ebf38756f3a68b30fe0d8e9336dbfafda52b5d5.tar.gz chromium_src-0ebf38756f3a68b30fe0d8e9336dbfafda52b5d5.tar.bz2 |
Landing this again as I cannot reproduce the perf regression locally.
Will investigate on the bot.
TBR=nsylvain
Review URL: http://codereview.chromium.org/9700
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5018 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/render_messages_internal.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 579a318..a4098a0 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -463,6 +463,14 @@ IPC_BEGIN_MESSAGES(View, 1) // into a full window). IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) + // Reply to the ViewHostMsg_QueryFormFieldAutofill message with the autofill + // suggestions. + IPC_MESSAGE_ROUTED4(ViewMsg_AutofillSuggestions, + int64 /* id of the text input field */, + int /* id of the request message */, + std::vector<std::wstring> /* suggestions */, + int /* index of default suggestion */) + IPC_END_MESSAGES(View) @@ -484,8 +492,9 @@ IPC_BEGIN_MESSAGES(ViewHost, 2) // Similar to ViewHostMsg_CreateView, except used for sub-widgets, like // <select> dropdowns. This message is sent to the WebContents that // contains the widget being created. - IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_CreateWidget, + IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_CreateWidget, int /* opener_id */, + bool /* focus on show */, int /* route_id */) // These two messages are sent as a result of the above two, in the browser @@ -494,8 +503,9 @@ IPC_BEGIN_MESSAGES(ViewHost, 2) int /* route_id */, HANDLE /* modal_dialog_event */) - IPC_MESSAGE_ROUTED1(ViewHostMsg_CreateWidgetWithRoute, - int /* route_id */) + IPC_MESSAGE_ROUTED2(ViewHostMsg_CreateWidgetWithRoute, + int /* route_id */, + bool /* focus on show */) // These two messages are sent to the parent RenderViewHost to display the // page/widget that was created by CreateView/CreateWidget. routing_id @@ -1064,4 +1074,11 @@ IPC_BEGIN_MESSAGES(ViewHost, 2) HWND /* window */, gfx::Rect /* Out: Window location */) + // Queries the browser for suggestion for autofill in a form input field. + IPC_MESSAGE_ROUTED4(ViewHostMsg_QueryFormFieldAutofill, + std::wstring /* field name */, + std::wstring /* user entered text */, + int64 /* id of the text input field */, + int /* id of this message */) + IPC_END_MESSAGES(ViewHost) |