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

Issue 10093011: Show a replacement plug-in for loading errors. (Closed)

Created:
8 years, 8 months ago by Bernhard Bauer
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, stuartmorgan+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Show a replacement plug-in for loading errors. This allows us to show a nicer placeholder when loading a plug-in fails then the one coming from WebKit. BUG=123580 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134620 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=134630 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134704

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : cleanup #

Total comments: 6

Patch Set 5 : review #

Patch Set 6 : review #

Patch Set 7 : review #

Patch Set 8 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -8 lines) Patch
M chrome/renderer/chrome_content_renderer_client.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/renderer/plugins/plugin_placeholder.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/renderer/plugins/plugin_placeholder.cc View 1 2 3 3 chunks +24 lines, -0 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/mock_content_renderer_client.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/mock_content_renderer_client.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M content/shell/shell_content_renderer_client.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/shell_content_renderer_client.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/plugins/npapi/webplugin_impl.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -4 lines 0 comments Download
M webkit/plugins/npapi/webplugin_page_delegate.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 3 chunks +8 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -1 line 0 comments Download
M webkit/support/test_webplugin_page_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/support/test_webplugin_page_delegate.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Bernhard Bauer
Hi John + Darin, I want to show a custom placeholder when loading a plug-in ...
8 years, 8 months ago (2012-04-18 16:41:35 UTC) #1
Bernhard Bauer
On 2012/04/18 16:41:35, Bernhard Bauer wrote: > Hi John + Darin, > > I want ...
8 years, 8 months ago (2012-04-23 20:57:09 UTC) #2
jam
sorry I skipped this because of the "WIP" in the title. has this gone through ...
8 years, 8 months ago (2012-04-23 22:44:08 UTC) #3
bauerb at google
This does indeed happen often enough to be noticed; it's one of the Top User ...
8 years, 8 months ago (2012-04-24 13:38:06 UTC) #4
jam
On 2012/04/24 13:38:06, please use chromium account wrote: > This does indeed happen often enough ...
8 years, 8 months ago (2012-04-24 15:14:29 UTC) #5
Bernhard Bauer
On 2012/04/24 15:14:29, John Abd-El-Malek wrote: > On 2012/04/24 13:38:06, please use chromium account wrote: ...
8 years, 8 months ago (2012-04-24 15:28:42 UTC) #6
jam
lgtm
8 years, 7 months ago (2012-04-27 16:09:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/10093011/28001
8 years, 7 months ago (2012-04-27 17:22:27 UTC) #8
commit-bot: I haz the power
Presubmit check for 10093011-28001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-04-27 17:22:38 UTC) #9
Bernhard Bauer
Darin, could I trouble you for an OWNERS review for webkit/? Thanks!
8 years, 7 months ago (2012-04-30 15:22:54 UTC) #10
darin (slow to review)
http://codereview.chromium.org/10093011/diff/28001/webkit/plugins/ppapi/plugin_delegate.h File webkit/plugins/ppapi/plugin_delegate.h (right): http://codereview.chromium.org/10093011/diff/28001/webkit/plugins/ppapi/plugin_delegate.h#newcode58 webkit/plugins/ppapi/plugin_delegate.h:58: struct DeviceRefData; are you sure about this change? class ...
8 years, 7 months ago (2012-04-30 18:57:02 UTC) #11
Bernhard Bauer
http://codereview.chromium.org/10093011/diff/28001/webkit/plugins/ppapi/plugin_delegate.h File webkit/plugins/ppapi/plugin_delegate.h (right): http://codereview.chromium.org/10093011/diff/28001/webkit/plugins/ppapi/plugin_delegate.h#newcode58 webkit/plugins/ppapi/plugin_delegate.h:58: struct DeviceRefData; On 2012/04/30 18:57:02, darin wrote: > are ...
8 years, 7 months ago (2012-04-30 19:30:34 UTC) #12
darin (slow to review)
On Mon, Apr 30, 2012 at 12:30 PM, <bauerb@chromium.org> wrote: > > http://codereview.chromium.**org/10093011/diff/28001/** > webkit/plugins/ppapi/plugin_**delegate.h<http://codereview.chromium.org/10093011/diff/28001/webkit/plugins/ppapi/plugin_delegate.h> ...
8 years, 7 months ago (2012-04-30 19:43:16 UTC) #13
Bernhard Bauer
On 2012/04/30 19:43:16, darin wrote: > On Mon, Apr 30, 2012 at 12:30 PM, <mailto:bauerb@chromium.org> ...
8 years, 7 months ago (2012-04-30 20:02:11 UTC) #14
darin (slow to review)
OK, LGTM! On Mon, Apr 30, 2012 at 1:02 PM, <bauerb@chromium.org> wrote: > On 2012/04/30 ...
8 years, 7 months ago (2012-04-30 20:10:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/10093011/42003
8 years, 7 months ago (2012-04-30 20:15:24 UTC) #16
commit-bot: I haz the power
Change committed as 134620
8 years, 7 months ago (2012-04-30 22:37:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bauerb@chromium.org/10093011/44004
8 years, 7 months ago (2012-05-01 13:22:04 UTC) #18
commit-bot: I haz the power
Change committed as 134704
8 years, 7 months ago (2012-05-01 14:49:03 UTC) #19
stuartmorgan
On 2012/04/23 22:44:08, John Abd-El-Malek wrote: > has this gone through UI review? do we ...
8 years, 7 months ago (2012-05-01 17:52:37 UTC) #20
Bernhard Bauer
8 years, 7 months ago (2012-05-02 08:54:48 UTC) #21
On 2012/05/01 17:52:37, stuartmorgan wrote:
> On 2012/04/23 22:44:08, John Abd-El-Malek wrote:
> > has this gone through UI review? do we know how often this happens, i.e.
that
> > it's worth adding this UI for?
> 
> FWIW, on the Mac this will happen for any plugin that requires a drawing or
> event model that we don't support. Once we drop the oldest ones there will be
> some uncommon-but-not-fringe plugins that fall into that case, and on 10.5
> currently there are some that require a new model we only support on 10.6+.

Ohhh, thanks for the info! Just to clarify, would this manifest as
WebPluginDelegateImpl ::PlatformInitialize() returning false?

Powered by Google App Engine
This is Rietveld 408576698