Define <webview>.contextMenus.onClicked event for Context Menus API.
commit0d94be85d3a0c251439465364ef0661cf9263766
authorlazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 4 Mar 2014 05:43:07 +0000 (4 05:43 +0000)
committerlazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 4 Mar 2014 05:43:07 +0000 (4 05:43 +0000)
treeae70eea2894cada3835240d626802eaaa8288282
parent25704c01fd963cc79d17e91f9f25e20df8035964
Define <webview>.contextMenus.onClicked event for Context Menus API.

This CL exposes .contextMenus.onClicked event per webview which can
independently register for listeners. The tricky part is that
behind the scenes, there is only one Event that fires from the
browser.

BUG=140315
Test=No visible or behavioral change.

Review URL: https://codereview.chromium.org/184993009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254677 0039d316-1c4b-4281-b951-d872f2087c98
chrome/renderer/resources/extensions/web_view_experimental.js