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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 15994016: Support custom window features, such as 'moo=foo'. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/content_browser_client.cc
===================================================================
--- content/public/browser/content_browser_client.cc (revision 198276)
+++ content/public/browser/content_browser_client.cc (working copy)
@@ -205,12 +205,14 @@
return WebKit::WebNotificationPresenter::PermissionAllowed;
}
-bool ContentBrowserClient::CanCreateWindow(const GURL& opener_url,
- const GURL& origin,
- WindowContainerType container_type,
- ResourceContext* context,
- int render_process_id,
- bool* no_javascript_access) {
+bool ContentBrowserClient::CanCreateWindow(
+ const GURL& opener_url,
+ const GURL& origin,
+ WindowContainerType container_type,
+ const WebKit::WindowFeatures& web_window_features,
+ ResourceContext* context,
+ int render_process_id,
+ bool* no_javascript_access) {
*no_javascript_access = false;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698