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

Issue 13820003: Pepper: Autogenerate thunk for PPB_TrueTypeFont. (Closed)

Created:
7 years, 8 months ago by teravest
Modified:
7 years, 8 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Pepper: Autogenerate thunk for PPB_TrueTypeFont. This makes a few changes to IDL annotations: * 'singleton_resource' is now 'singleton' and can be per-function or per-interface. * There is a new 'API' annotation that describes when a specific API should be used for a function. * There is a 'thunk_include' annotation for when a header file must be included in the thunk output, but we can't guess it. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194445

Patch Set 1 #

Patch Set 2 : Fix IsFont #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Rename IsFont, allow singleton to be interface-wide #

Patch Set 5 : Rename IsFont, allow singleton to be interface-wide #

Patch Set 6 : Rebased. #

Patch Set 7 : Fix test_truetype_font #

Patch Set 8 : Fix tests #

Patch Set 9 : Rebased #

Patch Set 10 : nit comment in gamepad for presubmit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -146 lines) Patch
M content/renderer/pepper/pepper_in_process_resource_creation.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ppapi/api/dev/ppb_truetype_font_dev.idl View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M ppapi/api/ppb_gamepad.idl View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/c/dev/ppb_truetype_font_dev.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/c/ppb_gamepad.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/generators/idl_thunk.py View 1 2 3 4 5 7 chunks +24 lines, -11 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/tests/test_truetype_font.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -4 lines 0 comments Download
A + ppapi/thunk/ppb_truetype_font_dev_thunk.cc View 1 2 3 4 5 6 chunks +27 lines, -17 lines 0 comments Download
D ppapi/thunk/ppb_truetype_font_thunk.cc View 1 2 3 4 5 1 chunk +0 lines, -95 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
teravest
bbudge for TrueTypeFont changes and annotations dmichael for ppapi OWNERS yzshen for content/renderer/pepper/OWNERS
7 years, 8 months ago (2013-04-10 16:29:06 UTC) #1
teravest
bbudge, As a quick aside, if IsFont() was renamed to IsTrueTypeFont(), we wouldn't need that ...
7 years, 8 months ago (2013-04-10 16:59:20 UTC) #2
yzshen1
https://codereview.chromium.org/13820003/diff/5001/ppapi/api/dev/ppb_truetype_font_dev.idl File ppapi/api/dev/ppb_truetype_font_dev.idl (right): https://codereview.chromium.org/13820003/diff/5001/ppapi/api/dev/ppb_truetype_font_dev.idl#newcode12 ppapi/api/dev/ppb_truetype_font_dev.idl:12: [generate_thunk,thunk_include="ppapi/thunk/ppb_truetype_font_singleton_api.h"] Does it make sense to deduce the include ...
7 years, 8 months ago (2013-04-10 17:00:48 UTC) #3
teravest
On Wed, Apr 10, 2013 at 11:00 AM, <yzshen@chromium.org> wrote: > > https://codereview.chromium.org/13820003/diff/5001/ppapi/api/dev/ppb_truetype_font_dev.idl > File ...
7 years, 8 months ago (2013-04-10 17:06:53 UTC) #4
bbudge
LGTM https://codereview.chromium.org/13820003/diff/5001/ppapi/api/dev/ppb_truetype_font_dev.idl File ppapi/api/dev/ppb_truetype_font_dev.idl (right): https://codereview.chromium.org/13820003/diff/5001/ppapi/api/dev/ppb_truetype_font_dev.idl#newcode176 ppapi/api/dev/ppb_truetype_font_dev.idl:176: [is_function] I think renaming to IsTrueTypeFont is a ...
7 years, 8 months ago (2013-04-10 17:38:17 UTC) #5
bbudge
https://codereview.chromium.org/13820003/diff/5001/ppapi/thunk/ppb_truetype_font_dev_thunk.cc File ppapi/thunk/ppb_truetype_font_dev_thunk.cc (right): https://codereview.chromium.org/13820003/diff/5001/ppapi/thunk/ppb_truetype_font_dev_thunk.cc#newcode29 ppapi/thunk/ppb_truetype_font_dev_thunk.cc:29: return enter.SetResult(enter.functions()->GetFontFamilies( You might have to rebase - I ...
7 years, 8 months ago (2013-04-10 17:40:37 UTC) #6
teravest
On Wed, Apr 10, 2013 at 11:40 AM, <bbudge@chromium.org> wrote: > > https://codereview.chromium.org/13820003/diff/5001/ppapi/thunk/ppb_truetype_font_dev_thunk.cc > File ...
7 years, 8 months ago (2013-04-10 18:11:09 UTC) #7
teravest
On Wed, Apr 10, 2013 at 11:06 AM, Justin TerAvest <teravest@chromium.org> wrote: > On Wed, ...
7 years, 8 months ago (2013-04-10 18:12:06 UTC) #8
dmichael (off chromium)
lgtm
7 years, 8 months ago (2013-04-10 18:30:36 UTC) #9
yzshen1
LGTM Thanks!
7 years, 8 months ago (2013-04-10 18:33:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/13820003/14002
7 years, 8 months ago (2013-04-10 19:40:37 UTC) #11
commit-bot: I haz the power
7 years, 8 months ago (2013-04-10 19:40:49 UTC) #12
Presubmit check for 13820003-14002 failed and returned exit status 1.

INFO:root:Found 13 file(s).

Running presubmit commit checks ...
Running /b/commit-queue/workdir/chromium/PRESUBMIT.py
Running /b/commit-queue/workdir/chromium/ppapi/PRESUBMIT.py

** Presubmit Messages **
If this change has an associated bug, add BUG=[bug number].

** Presubmit Warnings **
Missing PPAPI header, no change or skipped generation?

***************
ppapi/api/ppb_gamepad.idl
***************

Presubmit checks took 4.8s to calculate.

Powered by Google App Engine
This is Rietveld 408576698