Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index e5f40c49df315be90985403a2285daf5c5517490..611f121f662b6eb84c7767fd11cecbe5d5016dc4 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -104,6 +104,7 @@ class SpeechRecognitionManagerDelegate; |
class WebContents; |
class WebContentsViewDelegate; |
struct MainFunctionParams; |
+struct OpenURLParams; |
struct Referrer; |
struct WebPreferences; |
@@ -588,6 +589,11 @@ class CONTENT_EXPORT ContentBrowserClient { |
// RenderProcessHost. |
virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {} |
+ // Allows programmatic opening of a new tab/window without going trough |
jsbell
2015/01/13 17:08:46
typo: "trough" -> "through"
mlamouri (slow - plz ping)
2015/01/13 18:11:53
Done.
|
+ // another WebContents. For example, from a Worker. |
+ virtual WebContents* OpenURL(BrowserContext* browser_context, |
+ const OpenURLParams& params); |
+ |
#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Populates |mappings| with all files that need to be mapped before launching |
// a child process. |