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

Issue 8413021: Add functions to generate input events to PPB_Testing_Dev. These make (Closed)

Created:
9 years, 1 month ago by bbudge
Modified:
9 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, ihf+watch_chromium.org, polina, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add functions to generate input events to PPB_Testing_Dev. These make it possible to test APIs that require user gestures and other input events. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110865

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add functions to generate input events to PPB_Testing_Dev. These make #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 8

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 5

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Total comments: 4

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Total comments: 24

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+706 lines, -17 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/api/dev/ppb_testing_dev.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +26 lines, -1 line 0 comments Download
M ppapi/c/dev/ppb_testing_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +34 lines, -2 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_testing_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_testing_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +34 lines, -1 line 0 comments Download
A ppapi/tests/test_input_event.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +60 lines, -0 lines 0 comments Download
A ppapi/tests/test_input_event.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +290 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/event_conversion.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +9 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/event_conversion.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +182 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +22 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +14 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
bbudge
Adding methods to PPB_Testing_Dev to generate input events for testing. No NaCl proxy yet.
9 years, 1 month ago (2011-10-27 23:49:36 UTC) #1
dmichael (off chromium)
A test would really help. This should make it possible to make a pretty good ...
9 years, 1 month ago (2011-10-28 16:02:21 UTC) #2
bbudge
Added a test for PPB_InputEvents. I had to abandon my original approach, where I was ...
9 years, 1 month ago (2011-11-04 23:17:29 UTC) #3
dmichael (off chromium)
http://codereview.chromium.org/8413021/diff/24009/ppapi/c/dev/ppb_testing_dev.h File ppapi/c/dev/ppb_testing_dev.h (right): http://codereview.chromium.org/8413021/diff/24009/ppapi/c/dev/ppb_testing_dev.h#newcode16 ppapi/c/dev/ppb_testing_dev.h:16: #define PPB_TESTING_DEV_INTERFACE PPB_TESTING_DEV_INTERFACE_0_7 I think in general we still ...
9 years, 1 month ago (2011-11-07 17:12:58 UTC) #4
bbudge
I had to come up with a workaround to RunMessageLoop for the tests where we ...
9 years, 1 month ago (2011-11-08 00:05:05 UTC) #5
dmichael (off chromium)
Are you still thinking of doing it through WebKit as well? Anyway, this is better ...
9 years, 1 month ago (2011-11-09 21:51:03 UTC) #6
bbudge
OK David, this is ready for another look. Things I'm not sure about and would ...
9 years, 1 month ago (2011-11-17 18:59:32 UTC) #7
dmichael (off chromium)
http://codereview.chromium.org/8413021/diff/57041/webkit/plugins/ppapi/plugin_module.cc File webkit/plugins/ppapi/plugin_module.cc (right): http://codereview.chromium.org/8413021/diff/57041/webkit/plugins/ppapi/plugin_module.cc#newcode342 webkit/plugins/ppapi/plugin_module.cc:342: switches::kEnablePepperTesting)) { nit: 4-space indent http://codereview.chromium.org/8413021/diff/57041/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): ...
9 years, 1 month ago (2011-11-17 19:27:57 UTC) #8
bbudge
PTAL, awaiting a new set of trys. http://codereview.chromium.org/8413021/diff/57041/webkit/plugins/ppapi/plugin_module.cc File webkit/plugins/ppapi/plugin_module.cc (right): http://codereview.chromium.org/8413021/diff/57041/webkit/plugins/ppapi/plugin_module.cc#newcode342 webkit/plugins/ppapi/plugin_module.cc:342: switches::kEnablePepperTesting)) { ...
9 years, 1 month ago (2011-11-17 21:58:24 UTC) #9
bbudge
http://codereview.chromium.org/8413021/diff/57041/webkit/plugins/ppapi/plugin_module.cc File webkit/plugins/ppapi/plugin_module.cc (right): http://codereview.chromium.org/8413021/diff/57041/webkit/plugins/ppapi/plugin_module.cc#newcode342 webkit/plugins/ppapi/plugin_module.cc:342: switches::kEnablePepperTesting)) { On 2011/11/17 19:27:57, dmichael wrote: > nit: ...
9 years, 1 month ago (2011-11-17 22:01:13 UTC) #10
dmichael (off chromium)
You should probably re-run your windows try; it failed to compile (though it looks like ...
9 years, 1 month ago (2011-11-18 03:44:45 UTC) #11
bbudge
Running another set of trys. http://codereview.chromium.org/8413021/diff/56025/webkit/plugins/ppapi/event_conversion.cc File webkit/plugins/ppapi/event_conversion.cc (right): http://codereview.chromium.org/8413021/diff/56025/webkit/plugins/ppapi/event_conversion.cc#newcode471 webkit/plugins/ppapi/event_conversion.cc:471: key_down_event->unmodifiedText[0] = text; On ...
9 years, 1 month ago (2011-11-18 19:00:06 UTC) #12
bbudge
Fix one more indentation snafu.
9 years, 1 month ago (2011-11-18 19:06:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/8413021/72005
9 years, 1 month ago (2011-11-18 21:14:50 UTC) #14
commit-bot: I haz the power
Presubmit check for 8413021-72005 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-18 21:15:31 UTC) #15
bbudge
Patch got out of date, added IDL method.
9 years, 1 month ago (2011-11-19 05:36:14 UTC) #16
bbudge
This now passes all tests. Need an LGTM from webkit/plugins OWNERS trung or piman.
9 years, 1 month ago (2011-11-19 21:20:36 UTC) #17
piman
http://codereview.chromium.org/8413021/diff/82006/ppapi/api/dev/ppb_testing_dev.idl File ppapi/api/dev/ppb_testing_dev.idl (right): http://codereview.chromium.org/8413021/diff/82006/ppapi/api/dev/ppb_testing_dev.idl#newcode83 ppapi/api/dev/ppb_testing_dev.idl:83: * Passes the input event to the renderer, which ...
9 years, 1 month ago (2011-11-19 22:31:00 UTC) #18
bbudge
Hey, thanks for the weekend reviewing! http://codereview.chromium.org/8413021/diff/82006/ppapi/api/dev/ppb_testing_dev.idl File ppapi/api/dev/ppb_testing_dev.idl (right): http://codereview.chromium.org/8413021/diff/82006/ppapi/api/dev/ppb_testing_dev.idl#newcode83 ppapi/api/dev/ppb_testing_dev.idl:83: * Passes the ...
9 years, 1 month ago (2011-11-20 02:53:56 UTC) #19
piman
lgtm http://codereview.chromium.org/8413021/diff/82006/ppapi/proxy/ppb_testing_proxy.cc File ppapi/proxy/ppb_testing_proxy.cc (right): http://codereview.chromium.org/8413021/diff/82006/ppapi/proxy/ppb_testing_proxy.cc#newcode83 ppapi/proxy/ppb_testing_proxy.cc:83: NOTREACHED(); On 2011/11/20 02:53:57, bbudge1 wrote: > On ...
9 years, 1 month ago (2011-11-20 04:36:49 UTC) #20
bbudge
Added plugin_ppb.cc to fix the NaCl proxy.
9 years, 1 month ago (2011-11-20 16:11:24 UTC) #21
bbudge
Add destructor to remove Javascript injected into test page.
9 years, 1 month ago (2011-11-20 17:03:44 UTC) #22
piman
9 years, 1 month ago (2011-11-20 20:07:26 UTC) #23
lgtm

Powered by Google App Engine
This is Rietveld 408576698