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

Issue 11753030: BrowserPlugin: Plumb ViewHostMsg_CreateWindow to BrowserPluginGuest (Closed)

Created:
7 years, 11 months ago by Fady Samuel
Modified:
7 years, 11 months ago
Reviewers:
sadrul, Cris Neckar
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

BrowserPlugin: Plumb ViewHostMsg_CreateWindow to BrowserPluginGuest As a prerequisite to supporting window.open, ViewHostMsg_CreateWindow messages need to be handled by BrowserPluginGuest as all guest-related state is accessed and handled there. This patch handles and forwards ViewHostMsg_CreateWindow messages intercepted on the I/O thread from the guest process prior to reaching RenderMessageFilter and forwards them to BrowserPluginGuest to reject, instead of rejecting them immediately in BrowserPluginMessageFilter. Future patches will replace the simple reject logic in BrowserPluginGuest with additional logic that will enable creating new windows. BUG=140316 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175597

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -15 lines) Patch
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_message_filter.h View 1 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_message_filter.cc View 1 2 chunks +26 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Fady Samuel
Fairly trivial patch, just a refactor: Plumb the handling of ViewHostMsg_CreateWindow from BrowserPluginMessageFilter to BrowserPluginGuest. ...
7 years, 11 months ago (2013-01-04 17:43:34 UTC) #1
Fady Samuel
Friendly *ping*
7 years, 11 months ago (2013-01-07 13:00:09 UTC) #2
sadrul
Perhaps the CL description could be a bit more verbose (see the chromium-dev@ thread). https://codereview.chromium.org/11753030/diff/1/content/browser/browser_plugin/browser_plugin_message_filter.cc ...
7 years, 11 months ago (2013-01-07 14:14:17 UTC) #3
Fady Samuel
Hi Cris, While this code is still simple, could you please verify that the message ...
7 years, 11 months ago (2013-01-07 14:58:50 UTC) #4
Fady Samuel
PTAL. https://codereview.chromium.org/11753030/diff/1/content/browser/browser_plugin/browser_plugin_message_filter.cc File content/browser/browser_plugin/browser_plugin_message_filter.cc (right): https://codereview.chromium.org/11753030/diff/1/content/browser/browser_plugin/browser_plugin_message_filter.cc#newcode36 content/browser/browser_plugin/browser_plugin_message_filter.cc:36: void BrowserPluginMessageFilter::OnCreateWindow(const IPC::Message& message) { On 2013/01/07 14:14:17, ...
7 years, 11 months ago (2013-01-08 17:45:18 UTC) #5
Cris Neckar
On 2013/01/08 17:45:18, Fady Samuel wrote: > PTAL. > > https://codereview.chromium.org/11753030/diff/1/content/browser/browser_plugin/browser_plugin_message_filter.cc > File content/browser/browser_plugin/browser_plugin_message_filter.cc (right): ...
7 years, 11 months ago (2013-01-08 18:49:40 UTC) #6
sadrul
LGTM https://codereview.chromium.org/11753030/diff/1/content/browser/browser_plugin/browser_plugin_message_filter.cc File content/browser/browser_plugin/browser_plugin_message_filter.cc (right): https://codereview.chromium.org/11753030/diff/1/content/browser/browser_plugin/browser_plugin_message_filter.cc#newcode55 content/browser/browser_plugin/browser_plugin_message_filter.cc:55: params.opener_id); On 2013/01/08 17:45:18, Fady Samuel wrote: > ...
7 years, 11 months ago (2013-01-08 18:51:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/11753030/5002
7 years, 11 months ago (2013-01-08 19:19:09 UTC) #8
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 11 months ago (2013-01-08 19:20:26 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 20:57:55 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698