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

Issue 7670003: Wire experimental Flapper part two (Closed)

Created:
9 years, 4 months ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 4 months ago
Reviewers:
brettw
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Wire experimental Flapper part two Since the new pepper plugin can arrive later we needed a way to integrate better with the webkit::PluginList, unfortunately there is still value on the PepperPluginRegistry for development use cases. So this change adds new plugins to both the pepper plugin lists in the browser (in PluginService) and the renderer (in PepperPluginRegistry) on demand. TEST=see bug BUG=89248 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97091

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -26 lines) Patch
M chrome/browser/component_updater/pepper_flash_component_installer.cc View 1 2 3 6 chunks +69 lines, -9 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/plugin_service.cc View 1 2 3 1 chunk +16 lines, -1 line 0 comments Download
M content/common/pepper_plugin_registry.h View 2 chunks +9 lines, -2 lines 0 comments Download
M content/common/pepper_plugin_registry.cc View 1 2 3 3 chunks +37 lines, -5 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 3 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/render_view.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webkit/plugins/webplugininfo.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/webplugininfo.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
cpu_(ooo_6.6-7.5)
9 years, 4 months ago (2011-08-16 23:08:38 UTC) #1
brettw
9 years, 4 months ago (2011-08-16 23:28:05 UTC) #2
LGTM, good luck

http://codereview.chromium.org/7670003/diff/6002/chrome/browser/component_upd...
File chrome/browser/component_updater/pepper_flash_component_installer.cc
(right):

http://codereview.chromium.org/7670003/diff/6002/chrome/browser/component_upd...
chrome/browser/component_updater/pepper_flash_component_installer.cc:113: // The
description is like "Shockwave Flash (pepper) 10.2 r154".
I think this comment shouldn't have "(pepper)" in it.

http://codereview.chromium.org/7670003/diff/6002/content/browser/plugin_servi...
File content/browser/plugin_service.cc (right):

http://codereview.chromium.org/7670003/diff/6002/content/browser/plugin_servi...
content/browser/plugin_service.cc:498: // be a latecomer, as it happens with
windows flapper. This information
can you say "pepper flash" instead of flapper here, since most people won't know
what it is.

http://codereview.chromium.org/7670003/diff/6002/content/browser/plugin_servi...
content/browser/plugin_service.cc:510: return
&ppapi_plugins_[ppapi_plugins_.size()-1];
Can you put spaces around the - here?

http://codereview.chromium.org/7670003/diff/6002/content/common/pepper_plugin...
File content/common/pepper_plugin_registry.cc (right):

http://codereview.chromium.org/7670003/diff/6002/content/common/pepper_plugin...
content/common/pepper_plugin_registry.cc:86: path.BaseName().LossyDisplayName()
: ASCIIToUTF16(name);
Can you use UTF8ToUTF16 instead? This will assert if the name isn't ascii, which
probably isn't what we want.

http://codereview.chromium.org/7670003/diff/6002/content/common/pepper_plugin...
content/common/pepper_plugin_registry.cc:116: if
(!webkit::IsPepperPlugin(webplugin_info))
No blank line before this

http://codereview.chromium.org/7670003/diff/6002/content/common/pepper_plugin...
content/common/pepper_plugin_registry.cc:171: // be a latecomer, as it happens
with windows flapper. This information
flapper -> pepper flash.

Powered by Google App Engine
This is Rietveld 408576698