add a use_alsa gyp setting
[chromium-blink-merge.git] / content / test / data / browser_plugin_dragging.html
blob1a0c38c6ba76d87582bc04d79a3ec80054a45a03
1 <textarea id='id_message'>
2 </textarea>
4 <object id="plugin"
5 tabindex="0"
6 type="application/browser-plugin"
7 width="240"
8 height="120"
9 style='border: solid 1px red'
11 </object>
13 <script>
14 function dragLocation() {
15 return [id_message.offsetLeft + id_message.offsetWidth / 2,
16 id_message.offsetTop + id_message.offsetHeight / 2];
19 function dropLocation() {
20 return [plugin.offsetLeft + plugin.offsetWidth / 2,
21 plugin.offsetTop + plugin.offsetHeight / 2];
24 function SetSrc(src) {
25 plugin = document.getElementById('plugin');
26 plugin.src = src;
28 </script>