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

Issue 116963003: App APIs in Pepper: C++ APIs (Closed)

Created:
7 years ago by yzshen1
Modified:
6 years, 11 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, yzshen+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, binji, ihf+watch_chromium.org, raymes
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

App APIs in Pepper: C++ APIs This CL contains supporting code for C++ APIs and the C++ equivalent of chrome.alarms. BUG=327197 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243158

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 27

Patch Set 4 : #

Patch Set 5 : changes according to David's suggestions. #

Total comments: 14

Patch Set 6 : #

Patch Set 7 : #

Total comments: 7

Patch Set 8 : changes according to Sam's suggestions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1219 lines, -0 lines) Patch
M native_client_sdk/src/libraries/ppapi_cpp/library.dsc View 1 2 3 4 4 chunks +9 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/alarms_dev.h View 1 2 3 4 5 6 7 1 chunk +170 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/alarms_dev.cc View 1 2 3 4 1 chunk +295 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/array_dev.h View 1 2 3 4 5 6 7 1 chunk +196 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/may_own_ptr_dev.h View 1 2 3 4 5 1 chunk +61 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/optional_dev.h View 1 2 3 4 5 6 7 1 chunk +117 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/string_wrapper_dev.h View 1 2 3 4 5 6 7 1 chunk +93 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/string_wrapper_dev.cc View 1 2 3 4 5 6 7 1 chunk +129 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/struct_wrapper_output_traits_dev.h View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/to_c_type_converter_dev.h View 1 2 3 4 5 6 1 chunk +96 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M ppapi/tests/all_cpp_includes.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
yzshen1
Hi, David and Sam. Would you please take a look? Thanks! Notes: - The alarms ...
7 years ago (2013-12-17 07:44:24 UTC) #1
dmichael (off chromium)
Cool stuff! I probably don't understand everything yet, but my early general feedback is... if ...
7 years ago (2013-12-17 18:03:25 UTC) #2
yzshen1
Thanks David! The testing code can be found here: https://codereview.chromium.org/60173003/diff/440001/ppapi/examples/extensions/extensions.cc https://codereview.chromium.org/116963003/diff/40001/ppapi/cpp/dev/struct_wrapper_base_dev.h File ppapi/cpp/dev/struct_wrapper_base_dev.h (right): https://codereview.chromium.org/116963003/diff/40001/ppapi/cpp/dev/struct_wrapper_base_dev.h#newcode13 ...
7 years ago (2013-12-17 23:52:21 UTC) #3
dmichael (off chromium)
https://codereview.chromium.org/116963003/diff/40001/ppapi/cpp/dev/struct_wrapper_base_dev.h File ppapi/cpp/dev/struct_wrapper_base_dev.h (right): https://codereview.chromium.org/116963003/diff/40001/ppapi/cpp/dev/struct_wrapper_base_dev.h#newcode15 ppapi/cpp/dev/struct_wrapper_base_dev.h:15: class StructWrapperIdentifier { On 2013/12/17 23:52:21, yzshen1 wrote: > ...
7 years ago (2013-12-18 18:24:03 UTC) #4
dmichael (off chromium)
Oh, and there is precedent for us having the full specializations of OutputTraits directly in ...
7 years ago (2013-12-18 18:37:39 UTC) #5
yzshen1
https://codereview.chromium.org/116963003/diff/40001/ppapi/cpp/dev/struct_wrapper_base_dev.h File ppapi/cpp/dev/struct_wrapper_base_dev.h (right): https://codereview.chromium.org/116963003/diff/40001/ppapi/cpp/dev/struct_wrapper_base_dev.h#newcode15 ppapi/cpp/dev/struct_wrapper_base_dev.h:15: class StructWrapperIdentifier { Thanks David! I think you persuaded ...
7 years ago (2013-12-18 19:18:55 UTC) #6
yzshen1
Hi, David. I have made the change to remove StructWrapperIdentifier and StructWrapperBase. Please take a ...
7 years ago (2013-12-19 02:07:43 UTC) #7
dmichael (off chromium)
Oops, looks like I forgot to publish some comments yesterday. Shouldn't affect what you've done ...
7 years ago (2013-12-19 15:57:43 UTC) #8
dmichael (off chromium)
Thanks for making that change; I think it's easier to understand now, and I hope ...
7 years ago (2013-12-19 16:34:29 UTC) #9
yzshen1
Hi, David. Thanks for the suggestions! I like the outcomes of removing StructWrapperBase/Identifier. With regard ...
7 years ago (2013-12-19 17:57:57 UTC) #10
dmichael (off chromium)
So... as I expected, now that I understand why you did MayOwnPtr, I haven't thought ...
7 years ago (2013-12-20 18:37:59 UTC) #11
yzshen1
Thanks for the detailed suggestions! """(1)Instead of making the C++ classes "wrappers", just make them ...
7 years ago (2013-12-20 19:50:43 UTC) #12
dmichael (off chromium)
lgtm, thanks for being patient with me coming to understand why you've chosen to go ...
7 years ago (2013-12-20 22:01:09 UTC) #13
yzshen1
Thanks David! And have a nice holiday! :) https://codereview.chromium.org/116963003/diff/80001/ppapi/cpp/dev/array_dev.h File ppapi/cpp/dev/array_dev.h (right): https://codereview.chromium.org/116963003/diff/80001/ppapi/cpp/dev/array_dev.h#newcode125 ppapi/cpp/dev/array_dev.h:125: void ...
7 years ago (2013-12-20 22:58:17 UTC) #14
yzshen1
+binji as OWNER for library.dsc. Thanks, Ben!
7 years ago (2013-12-20 22:59:16 UTC) #15
binji
native_client_sdk lgtm
7 years ago (2013-12-20 23:32:00 UTC) #16
Sam McNally
https://codereview.chromium.org/116963003/diff/180001/ppapi/cpp/dev/alarms_dev.h File ppapi/cpp/dev/alarms_dev.h (right): https://codereview.chromium.org/116963003/diff/180001/ppapi/cpp/dev/alarms_dev.h#newcode56 ppapi/cpp/dev/alarms_dev.h:56: bool is_period_in_minutes_set() const; I would prefer has_period_in_minutes() and clear_period_in_minutes() ...
7 years ago (2013-12-22 22:44:32 UTC) #17
yzshen1
Thanks Sam! Please take another look. https://codereview.chromium.org/116963003/diff/180001/ppapi/cpp/dev/alarms_dev.h File ppapi/cpp/dev/alarms_dev.h (right): https://codereview.chromium.org/116963003/diff/180001/ppapi/cpp/dev/alarms_dev.h#newcode56 ppapi/cpp/dev/alarms_dev.h:56: bool is_period_in_minutes_set() const; ...
6 years, 12 months ago (2013-12-26 19:19:50 UTC) #18
Sam McNally
lgtm https://codereview.chromium.org/116963003/diff/180001/ppapi/cpp/dev/alarms_dev.h File ppapi/cpp/dev/alarms_dev.h (right): https://codereview.chromium.org/116963003/diff/180001/ppapi/cpp/dev/alarms_dev.h#newcode56 ppapi/cpp/dev/alarms_dev.h:56: bool is_period_in_minutes_set() const; On 2013/12/26 19:19:51, yzshen1 wrote: ...
6 years, 11 months ago (2014-01-05 23:45:12 UTC) #19
yzshen1
> They aren't related, but they have a similar feel and purpose. I don't feel ...
6 years, 11 months ago (2014-01-06 17:39:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/116963003/430001
6 years, 11 months ago (2014-01-06 17:39:52 UTC) #21
commit-bot: I haz the power
6 years, 11 months ago (2014-01-06 20:36:42 UTC) #22
Message was sent while issue was closed.
Change committed as 243158

Powered by Google App Engine
This is Rietveld 408576698