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

Issue 4310002: Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on W... (Closed)

Created:
10 years, 1 month ago by dmichael(do not use this one)
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on Windows). This includes changing bool to PP_Bool and adding a PP_INLINE macro. TEST=tests/test_c_includes.c BUG=59791, 53451 The first patch set is a straight copy of http://codereview.chromium.org/4019010/show which got LGTMed when PPAPI was in its own repo, but had to be rolled back in order to include chrome changes. IMPORTANT: This change will break plugin implementations that use the C interface, and might break others as well. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65200

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 22

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1150 lines, -735 lines) Patch
A ppapi/c/dev/deprecated_bool.h View 4 1 chunk +43 lines, -0 lines 0 comments Download
M ppapi/c/dev/pp_video_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -3 lines 0 comments Download
M ppapi/c/dev/ppb_audio_config_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -3 lines 0 comments Download
M ppapi/c/dev/ppb_audio_dev.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -9 lines 0 comments Download
M ppapi/c/dev/ppb_buffer_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -6 lines 0 comments Download
M ppapi/c/dev/ppb_char_set_dev.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +4 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_cursor_control_dev.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -13 lines 0 comments Download
M ppapi/c/dev/ppb_directory_reader_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_file_chooser_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_file_io_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -4 lines 0 comments Download
M ppapi/c/dev/ppb_file_ref_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -6 lines 0 comments Download
M ppapi/c/dev/ppb_find_dev.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -3 lines 0 comments Download
M ppapi/c/dev/ppb_font_dev.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +28 lines, -26 lines 0 comments Download
M ppapi/c/dev/ppb_fullscreen_dev.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -5 lines 0 comments Download
M ppapi/c/dev/ppb_graphics_3d_dev.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +15 lines, -14 lines 0 comments Download
M ppapi/c/dev/ppb_scrollbar_dev.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -5 lines 0 comments Download
M ppapi/c/dev/ppb_testing_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -7 lines 0 comments Download
M ppapi/c/dev/ppb_transport_dev.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +13 lines, -13 lines 0 comments Download
M ppapi/c/dev/ppb_url_loader_dev.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +16 lines, -15 lines 0 comments Download
M ppapi/c/dev/ppb_url_request_info_dev.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +26 lines, -22 lines 0 comments Download
M ppapi/c/dev/ppb_url_response_info_dev.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -6 lines 0 comments Download
M ppapi/c/dev/ppb_url_util_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -16 lines 0 comments Download
M ppapi/c/dev/ppb_var_deprecated.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/c/dev/ppb_video_decoder_dev.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +16 lines, -15 lines 0 comments Download
M ppapi/c/dev/ppb_widget_dev.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +14 lines, -12 lines 0 comments Download
M ppapi/c/dev/ppp_class_deprecated.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -1 line 0 comments Download
M ppapi/c/dev/ppp_find_dev.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -7 lines 0 comments Download
M ppapi/c/dev/ppp_printing_dev.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +3 lines, -3 lines 0 comments Download
M ppapi/c/dev/ppp_scrollbar_dev.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ppapi/c/dev/ppp_selection_dev.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/c/dev/ppp_zoom_dev.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
A ppapi/c/pp_bool.h View 4 1 chunk +32 lines, -0 lines 0 comments Download
M ppapi/c/pp_completion_callback.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -4 lines 0 comments Download
M ppapi/c/pp_input_event.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
A ppapi/c/pp_macros.h View 4 1 chunk +46 lines, -0 lines 0 comments Download
M ppapi/c/pp_point.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/c/pp_rect.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/c/pp_size.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/c/pp_var.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +13 lines, -11 lines 0 comments Download
M ppapi/c/ppb_class.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -8 lines 0 comments Download
M ppapi/c/ppb_core.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -2 lines 0 comments Download
M ppapi/c/ppb_graphics_2d.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -9 lines 0 comments Download
M ppapi/c/ppb_image_data.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +14 lines, -13 lines 0 comments Download
M ppapi/c/ppb_instance.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +11 lines, -9 lines 0 comments Download
M ppapi/c/ppb_var.h View 1 2 3 4 5 6 7 8 9 10 10 chunks +30 lines, -26 lines 0 comments Download
M ppapi/c/ppp_instance.h View 1 2 3 4 5 6 7 8 9 10 6 chunks +11 lines, -10 lines 0 comments Download
A ppapi/cpp/common.h View 4 5 6 7 1 chunk +38 lines, -0 lines 0 comments Download
M ppapi/cpp/core.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/cpp/dev/file_ref_dev.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/cpp/dev/find_dev.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -8 lines 0 comments Download
M ppapi/cpp/dev/font_dev.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -5 lines 0 comments Download
M ppapi/cpp/dev/font_dev.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +12 lines, -7 lines 0 comments Download
M ppapi/cpp/dev/fullscreen_dev.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M ppapi/cpp/dev/graphics_3d_dev.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +17 lines, -8 lines 0 comments Download
M ppapi/cpp/dev/scrollbar_dev.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/cpp/dev/selection_dev.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M ppapi/cpp/dev/url_loader_dev.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -8 lines 0 comments Download
M ppapi/cpp/dev/url_request_info_dev.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +19 lines, -14 lines 0 comments Download
M ppapi/cpp/dev/url_util_dev.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -5 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_dev.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -9 lines 0 comments Download
M ppapi/cpp/dev/widget_dev.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -4 lines 0 comments Download
M ppapi/cpp/dev/zoom_dev.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M ppapi/cpp/graphics_2d.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/cpp/image_data.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/cpp/instance.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -2 lines 0 comments Download
M ppapi/cpp/module.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -4 lines 0 comments Download
M ppapi/cpp/module.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +21 lines, -19 lines 0 comments Download
M ppapi/cpp/var.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -2 lines 0 comments Download
M ppapi/examples/2d/graphics_2d_example.c View 1 2 3 4 5 6 7 8 9 10 7 chunks +44 lines, -54 lines 0 comments Download
M ppapi/ppapi.gyp View 1 2 3 4 5 6 7 8 9 10 6 chunks +6 lines, -4 lines 0 comments Download
A ppapi/tests/test_c_includes.c View 4 1 chunk +74 lines, -0 lines 0 comments Download
M ppapi/tests/test_graphics_2d.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +10 lines, -8 lines 0 comments Download
M ppapi/tests/test_image_data.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -3 lines 0 comments Download
M ppapi/tests/test_var_deprecated.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/plugins/pepper_audio.h View 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/glue/plugins/pepper_audio.cc View 2 3 4 5 6 7 8 9 10 4 chunks +9 lines, -8 lines 0 comments Download
M webkit/glue/plugins/pepper_buffer.cc View 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -5 lines 0 comments Download
A webkit/glue/plugins/pepper_common.h View 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_cursor_control.cc View 2 3 4 5 6 7 8 9 10 2 chunks +17 lines, -16 lines 0 comments Download
M webkit/glue/plugins/pepper_directory_reader.cc View 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/glue/plugins/pepper_event_conversion.cc View 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M webkit/glue/plugins/pepper_file_chooser.cc View 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/glue/plugins/pepper_file_io.cc View 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/glue/plugins/pepper_file_ref.cc View 2 3 4 5 6 7 8 9 10 4 chunks +5 lines, -4 lines 0 comments Download
M webkit/glue/plugins/pepper_font.cc View 2 3 4 5 6 7 8 9 10 5 chunks +17 lines, -15 lines 0 comments Download
M webkit/glue/plugins/pepper_graphics_2d.h View 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/plugins/pepper_graphics_2d.cc View 2 3 4 5 6 7 8 9 10 3 chunks +11 lines, -10 lines 0 comments Download
M webkit/glue/plugins/pepper_graphics_3d.cc View 2 3 4 5 6 7 8 9 10 4 chunks +15 lines, -14 lines 0 comments Download
M webkit/glue/plugins/pepper_image_data.cc View 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -9 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_instance.cc View 2 3 4 5 6 7 8 9 10 12 chunks +44 lines, -31 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_module.cc View 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -5 lines 0 comments Download
M webkit/glue/plugins/pepper_scrollbar.cc View 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -4 lines 0 comments Download
M webkit/glue/plugins/pepper_transport.cc View 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -4 lines 0 comments Download
M webkit/glue/plugins/pepper_url_loader.cc View 2 3 4 5 6 7 8 9 10 3 chunks +15 lines, -12 lines 0 comments Download
M webkit/glue/plugins/pepper_url_request_info.cc View 2 3 4 5 6 7 8 9 10 4 chunks +32 lines, -24 lines 0 comments Download
M webkit/glue/plugins/pepper_url_response_info.cc View 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/glue/plugins/pepper_url_util.cc View 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -13 lines 0 comments Download
M webkit/glue/plugins/pepper_var.cc View 2 3 4 5 6 7 8 9 10 7 chunks +38 lines, -22 lines 0 comments Download
M webkit/glue/plugins/pepper_video_decoder.cc View 2 3 4 5 6 7 8 9 10 6 chunks +10 lines, -9 lines 0 comments Download
M webkit/glue/plugins/pepper_widget.cc View 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -10 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
dmichael(do not use this one)
Sorry for the long reviewer list, I wanted to make sure anyone who commented on ...
10 years, 1 month ago (2010-11-04 18:47:53 UTC) #1
brettw
LGTM, just some style nits. http://codereview.chromium.org/4310002/diff/140006/137023 File ppapi/c/dev/ppb_url_response_info_dev.h (right): http://codereview.chromium.org/4310002/diff/140006/137023#newcode32 ppapi/c/dev/ppb_url_response_info_dev.h:32: PP_URLResponseProperty_Dev property); Can you ...
10 years, 1 month ago (2010-11-04 20:07:51 UTC) #2
dmichael(do not use this one)
Thanks for the careful reading of the code, Brett. Uploaded the requested changes and kicked ...
10 years, 1 month ago (2010-11-04 21:06:26 UTC) #3
brettw
Okay. (Since I already said LGTM, you don't have to wait to hear from me ...
10 years, 1 month ago (2010-11-04 21:10:45 UTC) #4
dmichael(do not use this one)
10 years, 1 month ago (2010-11-05 14:54:04 UTC) #5
Committed 65200.  Now to babysit the bots and make sure it goes through...

Powered by Google App Engine
This is Rietveld 408576698