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

Unified Diff: ppapi/native_client/tests/ppapi_browser/ppp_input_event/ppapi_ppp_input_event.js

Issue 10875080: Merge 153330 - Fix run_ppapi_ppp_input_event_browser_test and re-enable it. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1229/src/
Patch Set: Created 8 years, 4 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/tests/ppapi_browser/ppp_input_event/ppapi_ppp_input_event.js
===================================================================
--- ppapi/native_client/tests/ppapi_browser/ppp_input_event/ppapi_ppp_input_event.js (revision 153551)
+++ ppapi/native_client/tests/ppapi_browser/ppp_input_event/ppapi_ppp_input_event.js (working copy)
@@ -8,9 +8,8 @@
//////////////////////////////////////////////////////////////////////////////
// These are the coordinates of the upper-left corner of the nacl plugin
- // TODO(mball): Avoid hardcoding this location by querying the location
- // of the plugin.
- var leftCorner = 8, topCorner = 79
+ var leftCorner = plugin.offsetLeft;
+ var topCorner = plugin.offsetTop;
function simulateMouseEvent(eventName) {
var event = document.createEvent('MouseEvents');
Property changes on: ppapi\native_client\tests\ppapi_browser\ppp_input_event\ppapi_ppp_input_event.js
___________________________________________________________________
Added: svn:mime-type
+ text/javascript
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698