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

Issue 8586031: Convert a few ppapi dev interfaces to IDL. NaCl has tests for these (Closed)

Created:
9 years, 1 month ago by jvoung - send to chromium...
Modified:
9 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Convert a few ppapi dev interfaces to IDL. NaCl has tests for these dev interfaces, and we want it to go through IDL so that the PNaCl shim will know about them. There are few others dev and private interfaces not yet converted to IDL, but this is a start. TEST= ./generator.py BUG= http://code.google.com/p/chromium/issues/detail?id=89968 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110777

Patch Set 1 #

Patch Set 2 : Add cursor interfaces used by run_ppapi_ppb_dev_browser_test. #

Patch Set 3 : add ppb_testing_dev (used by graphics2d test, etc.) #

Total comments: 10

Patch Set 4 : keep old macro, use unamed for enum to keep that the same #

Patch Set 5 : Allow unsigned literals, allow unnamed enums, change style. #

Patch Set 6 : misunderstood unnamed... looks like all enums are typedef or have no names #

Patch Set 7 : nop #

Patch Set 8 : Change user of cursor enum... #

Patch Set 9 : Or, don't change the user, and add a notypedef #

Patch Set 10 : clean up a bit more #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -177 lines) Patch
A + ppapi/api/dev/pp_cursor_type_dev.idl View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -7 lines 0 comments Download
A ppapi/api/dev/ppb_cursor_control_dev.idl View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download
A + ppapi/api/dev/ppb_memory_dev.idl View 1 2 3 4 3 chunks +8 lines, -22 lines 0 comments Download
A ppapi/api/dev/ppb_testing_dev.idl View 1 2 3 4 1 chunk +80 lines, -0 lines 0 comments Download
A + ppapi/api/dev/ppp_printing_dev.idl View 1 2 3 4 3 chunks +25 lines, -33 lines 0 comments Download
M ppapi/c/dev/pp_cursor_type_dev.h View 1 2 3 4 5 6 7 8 2 chunks +19 lines, -3 lines 0 comments Download
M ppapi/c/dev/ppb_cursor_control_dev.h View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -34 lines 0 comments Download
M ppapi/c/dev/ppb_memory_dev.h View 4 chunks +8 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_testing_dev.h View 1 2 3 4 5 1 chunk +72 lines, -53 lines 0 comments Download
M ppapi/c/dev/ppp_printing_dev.h View 1 2 3 4 5 chunks +41 lines, -14 lines 0 comments Download
M ppapi/generators/idl_c_header.py View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M ppapi/generators/idl_c_proto.py View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -4 lines 0 comments Download
M ppapi/generators/idl_lexer.py View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jvoung - send to chromium...
9 years, 1 month ago (2011-11-17 17:55:36 UTC) #1
jvoung - send to chromium...
+ dmichael -- Is it okay to remove the 0.6 version of ppb_testing_dev, or are ...
9 years, 1 month ago (2011-11-17 18:47:56 UTC) #2
dmichael (off chromium)
It is okay to get rid of the 0.6 version of Testing (though you probably ...
9 years, 1 month ago (2011-11-17 19:04:41 UTC) #3
jvoung - send to chromium...
Thanks for the review! re: 0.6 dev testing interface Within webkit/plugins/ppapi/plugin_module.cc it refers to the ...
9 years, 1 month ago (2011-11-17 20:51:34 UTC) #4
dmichael (off chromium)
http://codereview.chromium.org/8586031/diff/3002/ppapi/api/dev/ppb_cursor_control_dev.idl File ppapi/api/dev/ppb_cursor_control_dev.idl (right): http://codereview.chromium.org/8586031/diff/3002/ppapi/api/dev/ppb_cursor_control_dev.idl#newcode25 ppapi/api/dev/ppb_cursor_control_dev.idl:25: [in] PP_Point hot_spot); On 2011/11/17 20:51:34, jvoung wrote: > ...
9 years, 1 month ago (2011-11-17 21:05:49 UTC) #5
jvoung - send to chromium...
http://codereview.chromium.org/8586031/diff/3002/ppapi/api/dev/ppb_cursor_control_dev.idl File ppapi/api/dev/ppb_cursor_control_dev.idl (right): http://codereview.chromium.org/8586031/diff/3002/ppapi/api/dev/ppb_cursor_control_dev.idl#newcode25 ppapi/api/dev/ppb_cursor_control_dev.idl:25: [in] PP_Point hot_spot); On 2011/11/17 21:05:49, dmichael wrote: > ...
9 years, 1 month ago (2011-11-17 22:00:09 UTC) #6
jvoung - send to chromium...
On 2011/11/17 22:00:09, jvoung wrote: > http://codereview.chromium.org/8586031/diff/3002/ppapi/api/dev/ppb_cursor_control_dev.idl > File ppapi/api/dev/ppb_cursor_control_dev.idl (right): > > http://codereview.chromium.org/8586031/diff/3002/ppapi/api/dev/ppb_cursor_control_dev.idl#newcode25 > ...
9 years, 1 month ago (2011-11-17 22:06:57 UTC) #7
jvoung - send to chromium...
On 2011/11/17 22:06:57, jvoung wrote: > On 2011/11/17 22:00:09, jvoung wrote: > > > http://codereview.chromium.org/8586031/diff/3002/ppapi/api/dev/ppb_cursor_control_dev.idl ...
9 years, 1 month ago (2011-11-18 00:30:34 UTC) #8
dmichael (off chromium)
Yes... typedefing enums is the convention we use almost everywhere, but if you change it, ...
9 years, 1 month ago (2011-11-18 03:32:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@google.com/8586031/10001
9 years, 1 month ago (2011-11-18 19:53:13 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-18 21:22:17 UTC) #11
Try job failure for 8586031-10001 (retry) (retry) on linux_rel for step
"ui_tests".
It's a second try, previously, steps "test_shell_tests, ui_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...

Powered by Google App Engine
This is Rietveld 408576698