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

Issue 6981001: Make the Pepper proxy support in-process font rendering. (Closed)

Created:
9 years, 7 months ago by brettw
Modified:
9 years, 7 months ago
Reviewers:
bradn, piman
CC:
chromium-reviews, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Make the Pepper proxy support in-process font rendering. This implements a WebKit thread in the PPAPI plugin process so we can do the font calls without IPC. The existing font support was refactored into a virtual class (to prevent PPAPI from depending on WebKit and creating a circular GYP dependency). This moves the renderer sandbox support into content/common so that it can be used by the PPAPI process. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84856

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 2

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1555 lines, -1034 lines) Patch
M base/bind_helpers.h View 1 2 3 4 5 6 7 8 3 chunks +5 lines, -3 lines 0 comments Download
M build/all.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/nacl/nacl_launcher_thread.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
A + content/common/child_process_sandbox_support_linux.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
A + content/common/child_process_sandbox_support_linux.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
M content/common/pepper_plugin_registry.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/pepper_plugin_registry.cc View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_ppapi_plugin.gypi View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -1 line 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 2 chunks +1 line, -3 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.h View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -0 lines 0 comments Download
A content/ppapi_plugin/ppapi_webkit_thread.h View 1 1 chunk +50 lines, -0 lines 0 comments Download
A content/ppapi_plugin/ppapi_webkit_thread.cc View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A content/ppapi_plugin/ppapi_webkitclient_impl.h View 1 1 chunk +66 lines, -0 lines 0 comments Download
A content/ppapi_plugin/ppapi_webkitclient_impl.cc View 1 2 3 4 5 6 7 1 chunk +238 lines, -0 lines 0 comments Download
M content/renderer/render_process_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M content/renderer/renderer_glue.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
D content/renderer/renderer_sandbox_support_linux.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -59 lines 0 comments Download
D content/renderer/renderer_sandbox_support_linux.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -189 lines 0 comments Download
M content/renderer/renderer_webkitclient_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -10 lines 0 comments Download
M ppapi/ppapi.gyp View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
A + ppapi/ppapi_internal.gyp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/ppapi_shared_proxy.gypi View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -2 lines 0 comments Download
M ppapi/ppapi_tests.gypi View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -3 lines 0 comments Download
M ppapi/proxy/DEPS View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/proxy/dispatcher.h View 1 2 3 4 5 6 7 8 5 chunks +22 lines, -0 lines 0 comments Download
M ppapi/proxy/dispatcher.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M ppapi/proxy/host_dispatcher.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/proxy/host_dispatcher.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -2 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_resource_tracker.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -9 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -33 lines 0 comments Download
M ppapi/proxy/ppapi_param_traits.h View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -9 lines 0 comments Download
M ppapi/proxy/ppapi_param_traits.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -41 lines 0 comments Download
M ppapi/proxy/ppb_font_proxy.h View 1 2 3 4 5 6 7 8 2 chunks +48 lines, -35 lines 0 comments Download
M ppapi/proxy/ppb_font_proxy.cc View 1 2 3 4 5 6 7 8 3 chunks +136 lines, -275 lines 0 comments Download
M ppapi/proxy/ppb_image_data_proxy.h View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_image_data_proxy.cc View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -51 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 6 7 8 3 chunks +19 lines, -3 lines 0 comments Download
M ppapi/proxy/serialized_structs.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -16 lines 0 comments Download
M ppapi/shared_impl/DEPS View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -4 lines 0 comments Download
A ppapi/shared_impl/font_impl.h View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A ppapi/shared_impl/font_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +36 lines, -0 lines 0 comments Download
M ppapi/shared_impl/resource_object_base.h View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -0 lines 0 comments Download
A ppapi/shared_impl/webkit_forwarding.h View 1 2 3 4 5 6 7 8 1 chunk +104 lines, -0 lines 0 comments Download
A ppapi/shared_impl/webkit_forwarding.cc View 1 2 3 4 5 6 7 8 1 chunk +36 lines, -0 lines 0 comments Download
M ppapi/tests/test_url_loader.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
A ppapi/thunk/ppb_font_api.h View 1 chunk +33 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_font_thunk.cc View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_image_data_api.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/thunk/thunk.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/gl_bindings_skia_cmd_buffer.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.h View 1 2 3 4 5 6 7 8 3 chunks +14 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_font_impl.h View 1 2 3 4 5 6 7 8 3 chunks +20 lines, -14 lines 0 comments Download
M webkit/plugins/ppapi/ppb_font_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +65 lines, -232 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/webkit_forwarding_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +24 lines, -0 lines 0 comments Download
A webkit/plugins/ppapi/webkit_forwarding_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +242 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
brettw
9 years, 7 months ago (2011-05-09 19:23:20 UTC) #1
piman
http://codereview.chromium.org/6981001/diff/61/content/ppapi_plugin/ppapi_webkitclient_impl.cc File content/ppapi_plugin/ppapi_webkitclient_impl.cc (right): http://codereview.chromium.org/6981001/diff/61/content/ppapi_plugin/ppapi_webkitclient_impl.cc#newcode81 content/ppapi_plugin/ppapi_webkitclient_impl.cc:81: num_characters * sizeof(characters[0])); Can we use a proper string16 ...
9 years, 7 months ago (2011-05-09 20:13:44 UTC) #2
brettw
New snap up. Ignore the base/bind* files. There's a problem that makes the bind code ...
9 years, 7 months ago (2011-05-09 21:00:35 UTC) #3
piman
LGTM
9 years, 7 months ago (2011-05-09 21:06:40 UTC) #4
bradn
LGTM on the gyp. Some comments. http://codereview.chromium.org/6981001/diff/8066/ppapi/ppapi.gyp File ppapi/ppapi.gyp (left): http://codereview.chromium.org/6981001/diff/8066/ppapi/ppapi.gyp#oldcode27 ppapi/ppapi.gyp:27: 'ppapi_cpp.gypi', Fine to ...
9 years, 7 months ago (2011-05-09 23:05:38 UTC) #5
brettw
This is a new version that avoids adding dependencies on WebKit to prevent a cycle ...
9 years, 7 months ago (2011-05-10 19:27:37 UTC) #6
piman
9 years, 7 months ago (2011-05-10 20:00:40 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698