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

Issue 11368019: Add support for external out-of-process PPAPI plugins in the browser. (Closed)

Created:
8 years, 1 month ago by bbudge
Modified:
8 years, 1 month ago
Reviewers:
brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, native-client-reviews_googlegroups.com, jam
Visibility:
Public.

Description

Add support for external out-of-process PPAPI plugins in the browser. - Modifies content::BrowserPpapiHostImpl so it's not ref-counted. - Adds a public content API method, BrowserPpapiHost::CreateExternalPluginProcess which allows the embedder to associate a browser ppapi host with a plugin process. - Adds a public content API method, ContentBrowserClient::GetExternalBrowserPpapiHost, so content can track instance creation and deletion for external plugins (e.g. NaCl) - Removes the content API method EnablePepperSupportForChannel. This is now done when creating the BrowserPpapiHost. BUG=116317 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166480

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -133 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 4 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.h View 1 2 3 4 5 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 2 chunks +7 lines, -3 lines 0 comments Download
D content/browser/pepper_helper.cc View 1 2 1 chunk +0 lines, -24 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.h View 1 2 3 4 chunks +25 lines, -11 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc View 1 2 3 4 3 chunks +48 lines, -12 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_test.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_test.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 1 chunk +26 lines, -6 lines 0 comments Download
M content/common/view_messages.h View 1 2 1 chunk +15 lines, -13 lines 0 comments Download
M content/content_browser.gypi View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/browser/browser_ppapi_host.h View 1 2 3 4 3 chunks +24 lines, -3 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
D content/public/browser/pepper_helper.h View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 7 chunks +28 lines, -15 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
bbudge
I haven't actually run this yet to test. I took your advice and added an ...
8 years, 1 month ago (2012-10-31 23:05:14 UTC) #1
bbudge
Updated the patch. This seems to work, so ready for review. PTAL
8 years, 1 month ago (2012-11-06 23:07:03 UTC) #2
brettw
http://codereview.chromium.org/11368019/diff/2015/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc File content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc (right): http://codereview.chromium.org/11368019/diff/2015/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc#newcode16 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc:16: IPC::Sender* sender, Nit: should only be indented 4 spaces. ...
8 years, 1 month ago (2012-11-07 00:18:11 UTC) #3
bbudge
Addressed comments. http://codereview.chromium.org/11368019/diff/2015/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc File content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc (right): http://codereview.chromium.org/11368019/diff/2015/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc#newcode16 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc:16: IPC::Sender* sender, On 2012/11/07 00:18:11, brettw wrote: ...
8 years, 1 month ago (2012-11-07 00:51:45 UTC) #4
brettw
lgtm
8 years, 1 month ago (2012-11-07 00:53:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/11368019/22001
8 years, 1 month ago (2012-11-07 00:57:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/11368019/8029
8 years, 1 month ago (2012-11-07 01:47:00 UTC) #7
bbudge
Fix Windows build error, redundant CONTENT_EXPORT
8 years, 1 month ago (2012-11-07 01:47:04 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years, 1 month ago (2012-11-07 02:52:42 UTC) #9
bbudge
Had to replace the typed process iterator with the untyped one because of link errors. ...
8 years, 1 month ago (2012-11-07 16:55:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/11368019/4037
8 years, 1 month ago (2012-11-07 16:55:19 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-11-07 19:05:05 UTC) #12
Change committed as 166480

Powered by Google App Engine
This is Rietveld 408576698