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

Issue 2079016: Linux: Initial scaffolding for default plugin. (Closed)

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

Description

Linux: Initial scaffolding for default plugin. Basically the linux version of http://codereview.chromium.org/2075006 BUG=10952 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. Also, the plugin area is now grey instead of transparent. (this test depends on a small webkit shown below) 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=48315

Patch Set 1 #

Patch Set 2 : loads #

Patch Set 3 : '' #

Patch Set 4 : paints, cairo #

Patch Set 5 : no custom drawing #

Patch Set 6 : rebase #

Patch Set 7 : '' #

Total comments: 17

Patch Set 8 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+560 lines, -85 lines) Patch
M chrome/plugin/plugin_thread.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M webkit/default_plugin/default_plugin.gyp View 1 2 1 chunk +56 lines, -55 lines 0 comments Download
A webkit/default_plugin/plugin_impl_gtk.h View 3 4 5 6 7 1 chunk +283 lines, -0 lines 0 comments Download
A webkit/default_plugin/plugin_impl_gtk.cc View 3 4 5 6 7 1 chunk +139 lines, -0 lines 0 comments Download
M webkit/default_plugin/plugin_impl_mac.h View 7 4 chunks +5 lines, -4 lines 0 comments Download
M webkit/default_plugin/plugin_impl_mac.mm View 1 chunk +4 lines, -4 lines 0 comments Download
M webkit/default_plugin/plugin_impl_win.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webkit/default_plugin/plugin_main.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/default_plugin/plugin_main.cc View 1 2 4 5 4 chunks +59 lines, -10 lines 0 comments Download
M webkit/glue/plugins/plugin_list.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Nico
estade: gtk stuff (plugin_impl_gtk.cc only) piman: rest (or tell me about someone else who's good ...
10 years, 7 months ago (2010-05-25 21:34:46 UTC) #1
Evan Stade
cool! http://codereview.chromium.org/2079016/diff/14001/15003 File webkit/default_plugin/plugin_impl_gtk.cc (right): http://codereview.chromium.org/2079016/diff/14001/15003#newcode23 webkit/default_plugin/plugin_impl_gtk.cc:23: : container_(0) { s/0/NULL http://codereview.chromium.org/2079016/diff/14001/15003#newcode37 webkit/default_plugin/plugin_impl_gtk.cc:37: if (mime_type ...
10 years, 7 months ago (2010-05-25 23:31:18 UTC) #2
piman
LGTM on the NPAPI side.
10 years, 7 months ago (2010-05-25 23:40:51 UTC) #3
Nico
Thanks! http://codereview.chromium.org/2079016/diff/14001/15003 File webkit/default_plugin/plugin_impl_gtk.cc (right): http://codereview.chromium.org/2079016/diff/14001/15003#newcode23 webkit/default_plugin/plugin_impl_gtk.cc:23: : container_(0) { On 2010/05/25 23:31:18, Evan Stade ...
10 years, 7 months ago (2010-05-25 23:42:35 UTC) #4
Evan Stade
10 years, 7 months ago (2010-05-25 23:52:35 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698