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

Issue 19844003: Remove webkit/plugins/npapi. (Closed)

Created:
7 years, 5 months ago by jam
Modified:
7 years, 5 months ago
Reviewers:
scottmg
CC:
chromium-reviews, extensions-reviews_chromium.org, yusukes+watch_chromium.org, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, James Su, stuartmorgan+watch_chromium.org
Visibility:
Public.

Description

Remove webkit/plugins/npapi. -NPAPIPluginsSupported moves to PluginService -no need to call it in PluginList methods anymore since PluginService is now the only place that calls these methods, and it can check first -no need for the renderer to call this first since now the browser won't enumerate NPAPI plugins if it's disabled -CreateVersionFromString moves to WebPluginInfo. I couldn't find a better place to put it. -move the constants back to plugin_constants_win.h -move PLUGIN_QUIRK_DIE_AFTER_UNLOAD handling to WebPluginDelegateStub and PluginThread instead of being a global -GetDefaultWindowParent moves to plugin_constants_win.h. I couldn't find a better place. -IsPluginWindow moves to PluginService -GetPluginNameFromWindow and GetPluginVersionFromWindow are both replaced by GetPluginInfoFromWindow which is on PluginService -IsDummyActivationWindow was called by one place so I moved the code there BUG=237249 R=scottmg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212672

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : remove GetDefaultWindowParent #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -367 lines) Patch
M chrome/browser/extensions/plugin_apitest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/hang_monitor/hung_plugin_action.cc View 1 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/plugins/plugin_metadata.cc View 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/plugin_data_remover_impl.cc View 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/plugin_loader_posix.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/plugin_service_impl.h View 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 3 8 chunks +59 lines, -4 lines 0 comments Download
M content/browser/plugin_service_impl_browsertest.cc View 5 chunks +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 3 chunks +10 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 4 7 chunks +6 lines, -6 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl_win.cc View 1 2 3 4 12 chunks +14 lines, -16 lines 0 comments Download
M content/child/npapi/webplugin_ime_win.cc View 2 chunks +1 line, -2 lines 0 comments Download
M content/common/plugin_constants_win.h View 1 2 3 4 2 chunks +7 lines, -1 line 2 comments Download
M content/common/plugin_constants_win.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/plugin_list.h View 4 chunks +6 lines, -8 lines 0 comments Download
M content/common/plugin_list.cc View 9 chunks +20 lines, -37 lines 0 comments Download
M content/common/plugin_list_unittest.cc View 1 2 4 chunks +6 lines, -11 lines 0 comments Download
M content/content_tests.gypi View 2 chunks +1 line, -1 line 0 comments Download
M content/plugin/plugin_thread.h View 2 chunks +6 lines, -0 lines 0 comments Download
M content/plugin/plugin_thread.cc View 4 chunks +7 lines, -4 lines 0 comments Download
M content/plugin/webplugin_delegate_stub.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/plugin_service.h View 2 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 2 chunks +0 lines, -4 lines 0 comments Download
D webkit/plugins/npapi/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D webkit/plugins/npapi/plugin_utils.h View 1 chunk +0 lines, -58 lines 0 comments Download
D webkit/plugins/npapi/plugin_utils.cc View 1 chunk +0 lines, -135 lines 0 comments Download
D webkit/plugins/npapi/plugin_utils_unittest.cc View 1 chunk +0 lines, -44 lines 0 comments Download
M webkit/plugins/webkit_plugins.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/webplugininfo.h View 2 chunks +9 lines, -0 lines 0 comments Download
M webkit/plugins/webplugininfo.cc View 2 chunks +37 lines, -0 lines 0 comments Download
A + webkit/plugins/webplugininfo_unittest.cc View 3 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jam
7 years, 5 months ago (2013-07-19 20:15:28 UTC) #1
scottmg
https://codereview.chromium.org/19844003/diff/19001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): https://codereview.chromium.org/19844003/diff/19001/content/browser/plugin_loader_posix.cc#newcode81 content/browser/plugin_loader_posix.cc:81: PluginService::NPAPIPluginsSupported()); GetInstance() https://codereview.chromium.org/19844003/diff/19001/content/common/plugin_constants_win.cc File content/common/plugin_constants_win.cc (right): https://codereview.chromium.org/19844003/diff/19001/content/common/plugin_constants_win.cc#newcode29 content/common/plugin_constants_win.cc:29: HWND ...
7 years, 5 months ago (2013-07-19 20:25:00 UTC) #2
jam
https://codereview.chromium.org/19844003/diff/19001/content/browser/plugin_loader_posix.cc File content/browser/plugin_loader_posix.cc (right): https://codereview.chromium.org/19844003/diff/19001/content/browser/plugin_loader_posix.cc#newcode81 content/browser/plugin_loader_posix.cc:81: PluginService::NPAPIPluginsSupported()); On 2013/07/19 20:25:01, scottmg wrote: > GetInstance() fix ...
7 years, 5 months ago (2013-07-19 20:35:21 UTC) #3
scottmg
On 2013/07/19 20:35:21, jam wrote: > https://codereview.chromium.org/19844003/diff/19001/content/browser/plugin_loader_posix.cc > File content/browser/plugin_loader_posix.cc (right): > > https://codereview.chromium.org/19844003/diff/19001/content/browser/plugin_loader_posix.cc#newcode81 > ...
7 years, 5 months ago (2013-07-19 20:42:16 UTC) #4
jam
On 2013/07/19 20:42:16, scottmg wrote: > shrug, i don't it's a big deal to add ...
7 years, 5 months ago (2013-07-19 20:53:30 UTC) #5
scottmg
lgtm https://codereview.chromium.org/19844003/diff/9006/content/common/plugin_constants_win.h File content/common/plugin_constants_win.h (left): https://codereview.chromium.org/19844003/diff/9006/content/common/plugin_constants_win.h#oldcode41 content/common/plugin_constants_win.h:41: \n, or not if you already started tryjobs
7 years, 5 months ago (2013-07-19 20:56:04 UTC) #6
jam
7 years, 5 months ago (2013-07-19 21:04:29 UTC) #7
https://codereview.chromium.org/19844003/diff/9006/content/common/plugin_cons...
File content/common/plugin_constants_win.h (left):

https://codereview.chromium.org/19844003/diff/9006/content/common/plugin_cons...
content/common/plugin_constants_win.h:41: 
On 2013/07/19 20:56:04, scottmg wrote:
> \n, or not if you already started tryjobs

will readd locally

Powered by Google App Engine
This is Rietveld 408576698