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

Issue 2075006: Mac: First steps for default plugin (Closed)

Created:
10 years, 7 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Reland Mac: First steps for default plugin BUG=17392 TEST=Go to http://www.adobe.com/shockwave/welcome/. The task manager should show that the default plugin is running, and the "Missing Plug-in" text should look slightly different than it did before. (this test depends on a small webkit patch) Requires commenting out if (objectContentType(url, mimeType) != ObjectContentNetscapePlugin) return 0; in WebKit/WebKit/chromium/src/FrameLoaderClientImpl.cpp's createPlugin() as well, else the default plugin won't load. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=47849

Patch Set 1 #

Patch Set 2 : copy bundle #

Patch Set 3 : turning 10000s into 4s #

Patch Set 4 : plugin mostly loads #

Patch Set 5 : now a lib #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : 'it draws! ...something' #

Patch Set 9 : v1 getting close #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 12

Patch Set 13 : comments stuart #

Total comments: 3

Patch Set 14 : '' #

Patch Set 15 : '' #

Total comments: 7

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : fix nacl #

Patch Set 19 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -88 lines) Patch
M chrome/plugin/plugin_thread.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/renderer/render_view.cc View 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M webkit/default_plugin/default_plugin.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +31 lines, -16 lines 0 comments Download
M webkit/default_plugin/plugin_impl_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +14 lines, -54 lines 0 comments Download
A webkit/default_plugin/plugin_impl_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +179 lines, -0 lines 0 comments Download
M webkit/default_plugin/plugin_impl_win.h View 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/default_plugin/plugin_impl_win.cc View 11 12 13 14 15 16 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/default_plugin/plugin_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +57 lines, -6 lines 0 comments Download
M webkit/glue/plugins/plugin_list.cc View 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Nico
Mark: gyp file Stuart: rest
10 years, 7 months ago (2010-05-18 21:42:51 UTC) #1
stuartmorgan
http://codereview.chromium.org/2075006/diff/23001/24003 File webkit/default_plugin/default_plugin.gyp (right): http://codereview.chromium.org/2075006/diff/23001/24003#newcode37 webkit/default_plugin/default_plugin.gyp:37: 'plugin_impl_mac.mm', I would think we would want the plugin_impl_* ...
10 years, 7 months ago (2010-05-18 22:19:46 UTC) #2
Nico
That was quick. Thanks. http://codereview.chromium.org/2075006/diff/23001/24003 File webkit/default_plugin/default_plugin.gyp (right): http://codereview.chromium.org/2075006/diff/23001/24003#newcode37 webkit/default_plugin/default_plugin.gyp:37: 'plugin_impl_mac.mm', On 2010/05/18 22:19:47, stuartmorgan ...
10 years, 7 months ago (2010-05-18 22:44:38 UTC) #3
stuartmorgan
LGTM with one maybe-change http://codereview.chromium.org/2075006/diff/27002/28003 File webkit/default_plugin/default_plugin.gyp (right): http://codereview.chromium.org/2075006/diff/27002/28003#newcode22 webkit/default_plugin/default_plugin.gyp:22: }, Oh, we don't get ...
10 years, 7 months ago (2010-05-18 23:12:03 UTC) #4
Nico
Thanks. I'll see what Mark says about the gyp file. http://codereview.chromium.org/2075006/diff/27002/28008 File webkit/default_plugin/plugin_main.cc (right): http://codereview.chromium.org/2075006/diff/27002/28008#newcode136 ...
10 years, 7 months ago (2010-05-19 00:24:39 UTC) #5
Nico
http://codereview.chromium.org/2075006/diff/34001/12005 File webkit/default_plugin/default_plugin.gyp (right): http://codereview.chromium.org/2075006/diff/34001/12005#newcode21 webkit/default_plugin/default_plugin.gyp:21: ], Also, it looks like the project is not ...
10 years, 7 months ago (2010-05-19 00:37:23 UTC) #6
Mark Mentovai
LG from my perspective. I expect you’ll get a more complete review of the NPAPI ...
10 years, 7 months ago (2010-05-19 16:06:18 UTC) #7
Nico
http://codereview.chromium.org/2075006/diff/34001/12005 File webkit/default_plugin/default_plugin.gyp (right): http://codereview.chromium.org/2075006/diff/34001/12005#newcode7 webkit/default_plugin/default_plugin.gyp:7: 'sources/': [ On 2010/05/19 16:06:18, Mark Mentovai wrote: > ...
10 years, 7 months ago (2010-05-19 20:08:09 UTC) #8
Nico
Reverted, 'cause it broke nacl_ui_tests. If I remove default_plugin.cc from the gyp file, it seems ...
10 years, 7 months ago (2010-05-20 19:47:22 UTC) #9
Nico
10 years, 7 months ago (2010-05-20 21:15:39 UTC) #10
Filed http://code.google.com/p/chromium/issues/detail?id=44681 about why NaCl
was surprised with this change. I moved default_plugin.cc to windows-only for
this CL and will look into deleting it wholesale in a followup CL.

Powered by Google App Engine
This is Rietveld 408576698