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

Unified Diff: chrome/browser/ui/browser.h

Issue 9837074: Make it so that allow_js_access: false can be used with background pages created by window.open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation. Created 8 years, 9 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
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 051d35e78cb54c1a5fbcc997d61e13caccbda4a1..c7fda52d25c5da624dd1fa353b43fc1e82979a8d 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -1036,7 +1036,8 @@ class Browser : public TabHandlerDelegate,
content::WebContents* web_contents,
int route_id,
WindowContainerType window_container_type,
- const string16& frame_name) OVERRIDE;
+ const string16& frame_name,
+ const GURL& target_url) OVERRIDE;
virtual void WebContentsCreated(content::WebContents* source_contents,
int64 source_frame_id,
const GURL& target_url,
@@ -1356,9 +1357,9 @@ class Browser : public TabHandlerDelegate,
// Creates a BackgroundContents if appropriate; return true if one was
// created.
bool MaybeCreateBackgroundContents(int route_id,
- content::SiteInstance* site,
- const GURL& opener_url,
- const string16& frame_name);
+ content::WebContents* opener_web_contents,
+ const string16& frame_name,
+ const GURL& target_url);
// Data members /////////////////////////////////////////////////////////////
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698