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

Issue 15994016: Support custom window features, such as 'moo=foo'. (Closed)

Created:
7 years, 6 months ago by dreijer
Modified:
5 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Support custom window features, such as 'moo=foo'. This patch is part of a bigger patch for #110510, which allows custom window features on popup windows to be propagated to other handlers, such as ContentBrowserClient::CanCreateWindow(). This is particularly helpful in frameworks such as CEF, which allows third-parties to integrate with Chromium and provide custom handling for specific window features. A separate code review (https://codereview.chromium.org/16358008) has been created for the Blink portions of this bug. BUG=110510

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Patch Set 6 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -32 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 2 3 4 1 chunk +7 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 2 chunks +25 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 chunk +8 lines, -6 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 chunk +12 lines, -7 lines 0 comments Download
M content/public/browser/web_contents_delegate.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/common/window_container_type.h View 1 2 3 4 5 1 chunk +61 lines, -2 lines 3 comments Download
M content/renderer/render_view_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
commit-bot: I haz the power
No comments yet.
7 years, 6 months ago (2013-06-04 15:53:17 UTC) #1
dreijer
I believe this patch is ready for review time!
7 years, 6 months ago (2013-06-04 18:30:24 UTC) #2
Tom Sepez
Messages LGTM. https://codereview.chromium.org/15994016/diff/10003/content/public/common/window_container_type.h File content/public/common/window_container_type.h (right): https://codereview.chromium.org/15994016/diff/10003/content/public/common/window_container_type.h#newcode17 content/public/common/window_container_type.h:17: float x; Nit: you could avoid having ...
7 years, 6 months ago (2013-06-04 18:54:50 UTC) #3
dreijer
On 2013/06/04 18:54:50, Tom Sepez wrote: > Messages LGTM. > > https://codereview.chromium.org/15994016/diff/10003/content/public/common/window_container_type.h > File content/public/common/window_container_type.h ...
7 years, 6 months ago (2013-06-04 19:05:03 UTC) #4
sky
When you add multiple reviewers please indicate what files they are expected to review. Otherwise ...
7 years, 6 months ago (2013-06-04 21:08:32 UTC) #5
dreijer
On 2013/06/04 21:08:32, sky wrote: > When you add multiple reviewers please indicate what files ...
7 years, 6 months ago (2013-06-04 21:11:47 UTC) #6
sky
On Tue, Jun 4, 2013 at 2:11 PM, <dreijerbit@gmail.com> wrote: > On 2013/06/04 21:08:32, sky ...
7 years, 6 months ago (2013-06-04 21:19:40 UTC) #7
dreijer
List of files that need review. Thanks in advance: sky: chrome/browser/ui/browser.h chrome/browser/ui/browser.cc content/browser/browser_plugin/browser_plugin_guest.h content/browser/browser_plugin/browser_plugin_guest.cc content/browser/renderer_host/render_message_filter.cc ...
7 years, 6 months ago (2013-06-04 21:28:34 UTC) #8
sky
https://codereview.chromium.org/15994016/diff/14001/content/browser/browser_plugin/browser_plugin_guest.cc File content/browser/browser_plugin/browser_plugin_guest.cc (right): https://codereview.chromium.org/15994016/diff/14001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode457 content/browser/browser_plugin/browser_plugin_guest.cc:457: WebContents* source_contents, 4 space indent here too. https://codereview.chromium.org/15994016/diff/14001/content/browser/browser_plugin/browser_plugin_guest.h File ...
7 years, 6 months ago (2013-06-04 23:08:33 UTC) #9
dreijer
On 2013/06/04 23:08:33, sky wrote: > https://codereview.chromium.org/15994016/diff/14001/content/browser/browser_plugin/browser_plugin_guest.cc > File content/browser/browser_plugin/browser_plugin_guest.cc (right): > > https://codereview.chromium.org/15994016/diff/14001/content/browser/browser_plugin/browser_plugin_guest.cc#newcode457 > ...
7 years, 6 months ago (2013-06-04 23:18:57 UTC) #10
sky
On Tue, Jun 4, 2013 at 4:18 PM, <dreijerbit@gmail.com> wrote: > On 2013/06/04 23:08:33, sky ...
7 years, 6 months ago (2013-06-04 23:23:31 UTC) #11
dreijer
On 2013/06/04 23:23:31, sky wrote: > On Tue, Jun 4, 2013 at 4:18 PM, <mailto:dreijerbit@gmail.com> ...
7 years, 6 months ago (2013-06-04 23:42:16 UTC) #12
jamesr1
On Tue, Jun 4, 2013 at 4:42 PM, <dreijerbit@gmail.com> wrote: > On 2013/06/04 23:23:31, sky ...
7 years, 6 months ago (2013-06-04 23:46:03 UTC) #13
dreijer
On 2013/06/04 23:46:03, jamesr1 wrote: > On Tue, Jun 4, 2013 at 4:42 PM, <mailto:dreijerbit@gmail.com> ...
7 years, 6 months ago (2013-06-04 23:58:39 UTC) #14
Jói
jam@ should review for content/ I think, because of the interface change.
7 years, 6 months ago (2013-06-07 15:29:28 UTC) #15
jam
https://codereview.chromium.org/15994016/diff/36017/content/public/common/window_container_type.h File content/public/common/window_container_type.h (right): https://codereview.chromium.org/15994016/diff/36017/content/public/common/window_container_type.h#newcode9 content/public/common/window_container_type.h:9: #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h" see crbug.com/237267, people are working on removing ...
7 years, 6 months ago (2013-06-10 18:13:56 UTC) #16
jamesr
7 years, 5 months ago (2013-07-09 05:50:31 UTC) #17
dreijer
On 2013/06/10 18:13:56, jam wrote: > https://codereview.chromium.org/15994016/diff/36017/content/public/common/window_container_type.h > File content/public/common/window_container_type.h (right): > > https://codereview.chromium.org/15994016/diff/36017/content/public/common/window_container_type.h#newcode9 > ...
7 years, 5 months ago (2013-07-15 15:51:37 UTC) #18
dreijer
7 years, 5 months ago (2013-07-19 16:15:36 UTC) #19
https://codereview.chromium.org/15994016/diff/36017/content/public/common/win...
File content/public/common/window_container_type.h (right):

https://codereview.chromium.org/15994016/diff/36017/content/public/common/win...
content/public/common/window_container_type.h:9: #include
"third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h"
On 2013/06/10 18:13:57, jam wrote:
> see crbug.com/237267, people are working on removing webkit includes from
> content/common, so this is taking us a step back.
> 
> presumably this code is only needed by code in src/content/renderer, so it
> should just be there?

Well, so the problem here is that this class (WindowFeatures) converts a
Webkit::WebWindowFeatures to a type that can be used all across Chromium.
Regardless of where I declare WindowFeatures, I still need to include the Webkit
header so I can do the conversion.

Since you'd like me to put WindowFeatures in to its own file, where would you
suggest I create that file?

Powered by Google App Engine
This is Rietveld 408576698