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

Issue 107183002: Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. (Closed)

Created:
7 years ago by jam
Modified:
7 years ago
Reviewers:
Fady Samuel, jschuh, nasko
CC:
chromium-reviews, extensions-reviews_chromium.org, stuartmorgan+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, jochen+watch_chromium.org, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Move more of the plugin code in the renderer to use RenderFrame instead of RenderView. This is part of the work of making ContentRendererClient's OverrideCreatePlugin and CreatePluginReplacement take only a RenderFrame. I'm still not there yet, which is why their signatures haven't been trimmed. BUG=304341 R=fsamuel@chromium.org, nasko@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=239075

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 12

Patch Set 4 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -132 lines) Patch
M chrome/browser/extensions/extension_renderer_state.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_renderer_state.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/plugins/chrome_plugin_service_filter.h View 1 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/plugins/chrome_plugin_service_filter.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/plugins/plugin_info_message_filter.cc View 5 chunks +11 lines, -14 lines 0 comments Download
M chrome/browser/printing/print_preview_dialog_controller.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/pdf/pdf_unsupported_feature.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/render_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/plugins/chrome_plugin_placeholder.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/loader/buffered_resource_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/loader/resource_request_info_impl.h View 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/loader/resource_request_info_impl.cc View 4 chunks +7 lines, -0 lines 0 comments Download
M content/browser/loader/resource_scheduler_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/plugin_service_impl.h View 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 6 chunks +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 6 chunks +9 lines, -8 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/request_extra_data.h View 3 chunks +4 lines, -1 line 0 comments Download
M content/child/request_extra_data.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/resource_dispatcher.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/child/resource_dispatcher_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/frame_messages.h View 1 1 chunk +25 lines, -0 lines 0 comments Download
M content/common/resource_messages.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 chunk +0 lines, -25 lines 0 comments Download
M content/public/browser/plugin_service.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/plugin_service_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/render_frame_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/resource_request_info.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/browser/web_contents.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/renderer/render_frame.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/renderer/render_frame_observer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.h View 3 chunks +4 lines, -1 line 0 comments Download
M content/renderer/npapi/webplugin_delegate_proxy.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M content/renderer/npapi/webplugin_impl.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/npapi/webplugin_impl.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_in_process_router.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/plugin_module.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 chunk +0 lines, -12 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M content/shell/browser/shell_plugin_service_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/shell_plugin_service_filter.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
jam
fsamuel: chrome/browser/extensions/* per our chat jschuh: IPCs were moved from one file to another as ...
7 years ago (2013-12-05 21:25:38 UTC) #1
Fady Samuel
lgtm chrome/browser/extensions/*
7 years ago (2013-12-05 21:30:17 UTC) #2
nasko
Some questions and nits. https://codereview.chromium.org/107183002/diff/40001/chrome/browser/printing/print_preview_dialog_controller.cc File chrome/browser/printing/print_preview_dialog_controller.cc (right): https://codereview.chromium.org/107183002/diff/40001/chrome/browser/printing/print_preview_dialog_controller.cc#newcode69 chrome/browser/printing/print_preview_dialog_controller.cc:69: preview_dialog->GetMainFrame()->GetRoutingID(), Similar to the other ...
7 years ago (2013-12-05 22:43:44 UTC) #3
jam
https://codereview.chromium.org/107183002/diff/40001/chrome/browser/printing/print_preview_dialog_controller.cc File chrome/browser/printing/print_preview_dialog_controller.cc (right): https://codereview.chromium.org/107183002/diff/40001/chrome/browser/printing/print_preview_dialog_controller.cc#newcode69 chrome/browser/printing/print_preview_dialog_controller.cc:69: preview_dialog->GetMainFrame()->GetRoutingID(), On 2013/12/05 22:43:45, nasko wrote: > Similar to ...
7 years ago (2013-12-05 23:14:07 UTC) #4
nasko
LGTM
7 years ago (2013-12-05 23:46:15 UTC) #5
nasko
7 years ago (2013-12-05 23:47:59 UTC) #6
Adding the review list.

Powered by Google App Engine
This is Rietveld 408576698