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

Issue 1815593002: Remove windowed NPAPI code (Closed)

Created:
4 years, 9 months ago by piman
Modified:
4 years, 9 months ago
Reviewers:
jam, sky, dcheng
CC:
chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, jochen+watch_chromium.org, kalyank, mkwst+moarreviews-shell_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nona+watch_chromium.org, Peter Beverloo, piman+watch_chromium.org, shuchen+watch_chromium.org, sievers+watch_chromium.org, James Su, tfarina, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@make_test_plugin_windowless
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove windowed NPAPI code BUG=493212 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/bfb2cebc0c8dacff0b93a37a822babe8c2bc0f5e Cr-Commit-Position: refs/heads/master@{#382094}

Patch Set 1 : fix compile #

Total comments: 7

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1773 lines) Patch
M chrome/browser/hang_monitor/hung_plugin_action.cc View 2 chunks +2 lines, -52 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/plugin_process_host.h View 2 chunks +0 lines, -8 lines 0 comments Download
M content/browser/plugin_process_host.cc View 3 chunks +1 line, -36 lines 0 comments Download
M content/browser/plugin_service_impl.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 3 chunks +0 lines, -17 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 7 chunks +1 line, -189 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 3 chunks +0 lines, -24 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 1 chunk +0 lines, -338 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mus.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mus.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 6 chunks +3 lines, -158 lines 0 comments Download
M content/child/npapi/plugin_host.cc View 2 chunks +0 lines, -20 lines 0 comments Download
M content/child/npapi/plugin_instance.h View 2 chunks +0 lines, -6 lines 0 comments Download
M content/child/npapi/plugin_instance.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/child/npapi/webplugin.h View 1 chunk +0 lines, -13 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl.h View 5 chunks +0 lines, -62 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl.cc View 4 chunks +1 line, -28 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl_android.cc View 2 chunks +1 line, -20 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl_aura.cc View 1 chunk +0 lines, -16 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl_mac.mm View 4 chunks +1 line, -31 lines 0 comments Download
M content/child/npapi/webplugin_delegate_impl_win.cc View 13 chunks +10 lines, -397 lines 0 comments Download
M content/child/npapi/webplugin_ime_win.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M content/child/plugin_messages.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/common/plugin_constants_win.h View 1 chunk +0 lines, -12 lines 0 comments Download
M content/common/plugin_constants_win.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/plugin_process_messages.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/common/view_messages.h View 2 chunks +0 lines, -13 lines 0 comments Download
M content/common/webplugin_geometry.h View 1 chunk +0 lines, -13 lines 0 comments Download
M content/common/webplugin_geometry.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M content/plugin/webplugin_proxy.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/plugin/webplugin_proxy.cc View 2 chunks +1 line, -20 lines 0 comments Download
M content/public/browser/plugin_service.h View 1 chunk +0 lines, -7 lines 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.h View 3 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.cc View 7 chunks +2 lines, -33 lines 0 comments Download
M content/renderer/npapi/webplugin_impl.h View 3 chunks +0 lines, -6 lines 0 comments Download
M content/renderer/npapi/webplugin_impl.cc View 5 chunks +3 lines, -66 lines 0 comments Download
M content/renderer/render_widget.h View 1 3 chunks +0 lines, -13 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 chunks +1 line, -31 lines 0 comments Download
M content/shell/tools/plugin/main.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M content/test/fake_plugin_service.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/test/fake_plugin_service.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M content/test/test_render_view_host.h View 1 chunk +0 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (10 generated)
piman
jam: please review sky: chrome/browser OWNER dcheng: plugin_messages.h, plugin_process_messages.h and view_messages.h
4 years, 9 months ago (2016-03-18 04:33:24 UTC) #5
dcheng
*_messages.* changes lgtm
4 years, 9 months ago (2016-03-18 06:07:31 UTC) #6
jam
lgtm https://codereview.chromium.org/1815593002/diff/40001/chrome/browser/hang_monitor/hung_plugin_action.cc File chrome/browser/hang_monitor/hung_plugin_action.cc (right): https://codereview.chromium.org/1815593002/diff/40001/chrome/browser/hang_monitor/hung_plugin_action.cc#newcode46 chrome/browser/hang_monitor/hung_plugin_action.cc:46: l10n_util::GetStringUTF16(IDS_UNKNOWN_PLUGIN_NAME); we should be able to delete this ...
4 years, 9 months ago (2016-03-18 17:00:19 UTC) #7
piman
https://codereview.chromium.org/1815593002/diff/40001/chrome/browser/hang_monitor/hung_plugin_action.cc File chrome/browser/hang_monitor/hung_plugin_action.cc (right): https://codereview.chromium.org/1815593002/diff/40001/chrome/browser/hang_monitor/hung_plugin_action.cc#newcode46 chrome/browser/hang_monitor/hung_plugin_action.cc:46: l10n_util::GetStringUTF16(IDS_UNKNOWN_PLUGIN_NAME); On 2016/03/18 17:00:19, jam wrote: > we should ...
4 years, 9 months ago (2016-03-18 18:49:17 UTC) #8
piman
+sky for chrome/browser. Forgot to add you in the first place
4 years, 9 months ago (2016-03-18 18:50:39 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815593002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815593002/60001
4 years, 9 months ago (2016-03-18 19:33:03 UTC) #12
sky
LGTM - make sure you remove any includes that are stale now (specifically in chrome/browser/hang_monitor/hung_plugin_action.cc ...
4 years, 9 months ago (2016-03-18 19:44:05 UTC) #13
piman
On Fri, Mar 18, 2016 at 12:44 PM, <sky@chromium.org> wrote: > LGTM - make sure ...
4 years, 9 months ago (2016-03-18 19:53:29 UTC) #14
sky
The follow on patch is fine. On Fri, Mar 18, 2016 at 12:53 PM, Antoine ...
4 years, 9 months ago (2016-03-18 20:42:07 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 21:22:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815593002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815593002/60001
4 years, 9 months ago (2016-03-18 21:24:04 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 9 months ago (2016-03-18 21:33:09 UTC) #21
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/bfb2cebc0c8dacff0b93a37a822babe8c2bc0f5e Cr-Commit-Position: refs/heads/master@{#382094}
4 years, 9 months ago (2016-03-18 21:35:16 UTC) #23
jam
https://codereview.chromium.org/1815593002/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (left): https://codereview.chromium.org/1815593002/diff/40001/content/browser/renderer_host/render_widget_host_view_aura.cc#oldcode2779 content/browser/renderer_host/render_widget_host_view_aura.cc:2779: // Additonally the legacy dummy window is needed for ...
4 years, 9 months ago (2016-03-18 21:56:16 UTC) #24
piman
4 years, 9 months ago (2016-03-18 22:22:00 UTC) #25
Message was sent while issue was closed.
https://codereview.chromium.org/1815593002/diff/40001/content/browser/rendere...
File content/browser/renderer_host/render_widget_host_view_aura.cc (left):

https://codereview.chromium.org/1815593002/diff/40001/content/browser/rendere...
content/browser/renderer_host/render_widget_host_view_aura.cc:2779: //
Additonally the legacy dummy window is needed for accessibility and for
On 2016/03/18 21:56:16, jam wrote:
> On 2016/03/18 18:49:17, piman wrote:
> > On 2016/03/18 17:00:19, jam wrote:
> > > nit: this second part of the comment doesn't make as much sense with the
> > > previous removal. update?
> > 
> > I thought we still needed that for legacy mouse/trackpad drivers that expect
a
> > given HWND, completely independent of plugins?
> > (Note, I'm removing the need for this window for windowless plugins in a
> follow
> > up, but it won't fully remove it because of that reason)
> 
> to be clear, I meant specifically that the comment that starts with
> "Additionally" was depending on the lines that were deleted right?

Oh... I kept it because "... This will be passed as the container window for
windowless plugins.", then, "Additionally, the legacy window is needed...."

It's reworded in https://codereview.chromium.org/1813143002/ anyway

Powered by Google App Engine
This is Rietveld 408576698