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

Issue 554733003: Browser Plugin: Move input to RWHVGuest to support interstitial pages (Closed)

Created:
6 years, 3 months ago by Fady Samuel
Modified:
6 years, 3 months ago
Reviewers:
Charlie Reis, lazyboy
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove_to_guest_rect
Project:
chromium
Visibility:
Public.

Description

Browser Plugin: Move input to RWHVGuest to support interstitial pages BUG=273089 Committed: https://crrev.com/90e100b3b8d6149cce60045aea28ff7eb41f3483 Cr-Commit-Position: refs/heads/master@{#294170}

Patch Set 1 #

Patch Set 2 : Cleanup #

Patch Set 3 : Moved to OnMessageReceivedFromEmbedder #

Total comments: 7

Patch Set 4 : Fixed alignment #

Patch Set 5 : Rebase #

Patch Set 6 : Added TODO #

Total comments: 8

Patch Set 7 : Addressed creis' comments #

Patch Set 8 : Cleanup #

Total comments: 2

Patch Set 9 : Restored unnecessary changes #

Patch Set 10 : Pass in RenderWidgetHostImpl instead of WebContents #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -50 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -46 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +53 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (5 generated)
Fady Samuel
6 years, 3 months ago (2014-09-08 20:08:56 UTC) #2
lazyboy
https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h#newcode28 content/browser/browser_plugin/browser_plugin_guest.h:28: #include "content/browser/web_contents/web_contents_impl.h" Why is this required here? https://codereview.chromium.org/554733003/diff/40001/content/browser/frame_host/render_widget_host_view_guest.h File ...
6 years, 3 months ago (2014-09-08 20:30:49 UTC) #3
Fady Samuel
PTAL https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h#newcode28 content/browser/browser_plugin/browser_plugin_guest.h:28: #include "content/browser/web_contents/web_contents_impl.h" On 2014/09/08 20:30:49, lazyboy wrote: > ...
6 years, 3 months ago (2014-09-08 20:46:23 UTC) #4
lazyboy
lgtm https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h#newcode28 content/browser/browser_plugin/browser_plugin_guest.h:28: #include "content/browser/web_contents/web_contents_impl.h" On 2014/09/08 20:46:23, Fady Samuel wrote: ...
6 years, 3 months ago (2014-09-08 20:53:19 UTC) #5
Fady Samuel
https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h#newcode28 content/browser/browser_plugin/browser_plugin_guest.h:28: #include "content/browser/web_contents/web_contents_impl.h" On 2014/09/08 20:53:19, lazyboy wrote: > On ...
6 years, 3 months ago (2014-09-09 14:58:17 UTC) #6
lazyboy
https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h File content/browser/browser_plugin/browser_plugin_guest.h (right): https://codereview.chromium.org/554733003/diff/40001/content/browser/browser_plugin/browser_plugin_guest.h#newcode28 content/browser/browser_plugin/browser_plugin_guest.h:28: #include "content/browser/web_contents/web_contents_impl.h" On 2014/09/09 14:58:17, Fady Samuel wrote: > ...
6 years, 3 months ago (2014-09-09 15:24:04 UTC) #7
lazyboy
lgtm
6 years, 3 months ago (2014-09-09 15:24:05 UTC) #8
Fady Samuel
+creis@: Charlie, could you please review: render_widget_host_view_guest web_contents_view_guest.
6 years, 3 months ago (2014-09-09 16:28:05 UTC) #10
Charlie Reis
Mostly looks good, but I don't understand the change to the return type of embedder_web_contents(). ...
6 years, 3 months ago (2014-09-09 21:22:14 UTC) #11
Fady Samuel
On 2014/09/09 21:22:14, Charlie Reis wrote: > Mostly looks good, but I don't understand the ...
6 years, 3 months ago (2014-09-09 21:23:45 UTC) #12
Charlie Reis
Ah, I see. One alternative suggestion below, which might be cleaner. https://codereview.chromium.org/554733003/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): ...
6 years, 3 months ago (2014-09-10 00:28:21 UTC) #13
Fady Samuel
PTAL Charlie! https://codereview.chromium.org/554733003/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/554733003/diff/100001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode133 content/browser/browser_plugin/browser_plugin_guest.cc:133: if (rwhv && rwhv->OnMessageReceivedFromEmbedder(message)) On 2014/09/10 00:28:21, ...
6 years, 3 months ago (2014-09-10 02:51:37 UTC) #14
Charlie Reis
Thanks, that's much better! LGTM. https://codereview.chromium.org/554733003/diff/140001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/554733003/diff/140001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode272 content/browser/browser_plugin/browser_plugin_guest.cc:272: return embedder_web_contents()->GetRenderWidgetHostView(); These changes ...
6 years, 3 months ago (2014-09-10 04:42:05 UTC) #15
Fady Samuel
CQ'ing. https://codereview.chromium.org/554733003/diff/140001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/554733003/diff/140001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode272 content/browser/browser_plugin/browser_plugin_guest.cc:272: return embedder_web_contents()->GetRenderWidgetHostView(); On 2014/09/10 04:42:04, Charlie Reis wrote: ...
6 years, 3 months ago (2014-09-10 11:43:45 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/554733003/160001
6 years, 3 months ago (2014-09-10 11:44:16 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/3582) win_chromium_compile_dbg on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg/builds/14127)
6 years, 3 months ago (2014-09-10 12:00:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/554733003/180001
6 years, 3 months ago (2014-09-10 13:25:55 UTC) #22
commit-bot: I haz the power
Committed patchset #10 (id:180001) as d96390684c1e6748ab8436492084468678f25ac4
6 years, 3 months ago (2014-09-10 14:27:18 UTC) #23
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 14:32:23 UTC) #24
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/90e100b3b8d6149cce60045aea28ff7eb41f3483
Cr-Commit-Position: refs/heads/master@{#294170}

Powered by Google App Engine
This is Rietveld 408576698