diff options
author | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-11 19:16:02 +0000 |
---|---|---|
committer | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-11 19:16:02 +0000 |
commit | ea192e83450c3391f03c59219dfc9797e912a0d1 (patch) | |
tree | 1a3b36e00cce783a135c2f0edc463eb58ce3e6bd /ppapi | |
parent | dc1e688dc600bd425ad6be0a923c0a6c1d53b6c9 (diff) | |
download | chromium_src-ea192e83450c3391f03c59219dfc9797e912a0d1.zip chromium_src-ea192e83450c3391f03c59219dfc9797e912a0d1.tar.gz chromium_src-ea192e83450c3391f03c59219dfc9797e912a0d1.tar.bz2 |
Fix the issue that context menu doesn't show on fullscreen Pepper Flash.
- generate WebInputEvent::ContextMenu events.
- calculate the context menu position correctly.
- monitor mouse down events on fullscreen render widget, so that we can pass correct timestamp to gtk_menu_popup.
BUG=None.
TEST=Open a fullscreen Youtube video, and right click on it to see whether context menu shows up or not.
Review URL: http://codereview.chromium.org/6760019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/proxy/ppapi_messages.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h index c18ab50..37baf9b 100644 --- a/ppapi/proxy/ppapi_messages.h +++ b/ppapi/proxy/ppapi_messages.h @@ -461,9 +461,9 @@ IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlashMenu_Create, PP_Instance /* instance */, pp::proxy::SerializedFlashMenu /* menu_data */, pp::proxy::HostResource /* result */) -IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlashMenu_Show, - pp::proxy::HostResource /* menu */, - PP_Point /* location */) +IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBFlashMenu_Show, + pp::proxy::HostResource /* menu */, + PP_Point /* location */) IPC_MESSAGE_ROUTED3(PpapiMsg_PPBFlashMenu_ShowACK, pp::proxy::HostResource /* menu */, int32_t /* selected_id */, |