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

Issue 1161483004: Move guest view container message routing out of content/. (Closed)

Created:
5 years, 6 months ago by lazyboy
Modified:
5 years, 6 months ago
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move guest view container message routing out of content/. GuestViews used to receive messages through BrowserPlugin, this CL makes GuestView message routing possible without BrowserPlugin. This is a prerequisite for making <webview> pluginless. BUG=330264 Test=None, internal change only. Committed: https://crrev.com/7a4f1ceb18ffe6777d6a8b10b2db06e957187eba Cr-Commit-Position: refs/heads/master@{#332430}

Patch Set 1 #

Patch Set 2 : fix stuff #

Patch Set 3 : gn build + missing copyright + include cleanup #

Patch Set 4 : add comments to functions #

Patch Set 5 : Fix compile #

Patch Set 6 : whitespace fix #

Patch Set 7 : fix newwindow #

Total comments: 14

Patch Set 8 : address comments #

Patch Set 9 : remove ChromeGVCDispatcher + sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -50 lines) Patch
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 5 chunks +4 lines, -12 lines 0 comments Download
M components/guest_view.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M components/guest_view/renderer/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M components/guest_view/renderer/guest_view_container.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
A components/guest_view/renderer/guest_view_container_dispatcher.h View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
A components/guest_view/renderer/guest_view_container_dispatcher.cc View 1 2 3 4 5 6 7 1 chunk +40 lines, -0 lines 0 comments Download
M content/public/renderer/browser_plugin_delegate.h View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M content/public/renderer/browser_plugin_delegate.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 2 chunks +1 line, -5 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -5 lines 0 comments Download
M extensions/extensions.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A extensions/renderer/guest_view/extensions_guest_view_container_dispatcher.h View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
A extensions/renderer/guest_view/extensions_guest_view_container_dispatcher.cc View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download
M extensions/shell/renderer/shell_content_renderer_client.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -1 line 0 comments Download
M extensions/shell/renderer/shell_content_renderer_client.cc View 1 2 3 4 5 6 7 4 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
lazyboy
5 years, 6 months ago (2015-06-01 05:56:41 UTC) #2
Fady Samuel
Generally good, but there seems to be unnecessary code here? https://codereview.chromium.org/1161483004/diff/120001/chrome/renderer/chrome_guest_view_container_observer.cc File chrome/renderer/chrome_guest_view_container_observer.cc (right): https://codereview.chromium.org/1161483004/diff/120001/chrome/renderer/chrome_guest_view_container_observer.cc#newcode5 ...
5 years, 6 months ago (2015-06-01 11:32:25 UTC) #3
lazyboy
https://chromiumcodereview.appspot.com/1161483004/diff/120001/chrome/renderer/chrome_guest_view_container_observer.cc File chrome/renderer/chrome_guest_view_container_observer.cc (right): https://chromiumcodereview.appspot.com/1161483004/diff/120001/chrome/renderer/chrome_guest_view_container_observer.cc#newcode5 chrome/renderer/chrome_guest_view_container_observer.cc:5: #include "chrome/renderer/chrome_guest_view_container_observer.h" On 2015/06/01 at 11:32:25, Fady Samuel wrote: ...
5 years, 6 months ago (2015-06-01 16:00:07 UTC) #4
lazyboy
Removed ChromeGuestViewContainerDispatcher + synced to HEAD.
5 years, 6 months ago (2015-06-01 21:57:15 UTC) #5
Fady Samuel
Awesome! LGTM!
5 years, 6 months ago (2015-06-01 22:41:12 UTC) #6
lazyboy
+jochen for components/*, content/public/renderer/* and chrome/renderer/*, specifically: chrome/renderer/chrome_content_renderer_client.h chrome/renderer/chrome_content_renderer_client.cc components/guest_view.gypi content/public/renderer/browser_plugin_delegate.h content/public/renderer/browser_plugin_delegate.cc content/public/renderer/content_renderer_client.h content/public/renderer/content_renderer_client.cc +kalman ...
5 years, 6 months ago (2015-06-01 22:48:35 UTC) #8
not at google - send to devlin
rubberstamp lgtm
5 years, 6 months ago (2015-06-01 22:53:08 UTC) #9
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-02 16:10:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1161483004/160001
5 years, 6 months ago (2015-06-02 17:42:07 UTC) #12
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 6 months ago (2015-06-02 17:47:35 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-02 17:49:26 UTC) #14
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7a4f1ceb18ffe6777d6a8b10b2db06e957187eba
Cr-Commit-Position: refs/heads/master@{#332430}

Powered by Google App Engine
This is Rietveld 408576698