| 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 3f7c9ead94d7a15e11e07d1016c3ff86e1d23605..d69468a0c9ae77c6eb3a088c5c851fb1cd6ad704 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -30,6 +30,7 @@
|
| #include "net/cookies/canonical_cookie.h"
|
| #include "storage/browser/fileapi/file_system_context.h"
|
| #include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
|
| +#include "ui/base/page_transition_types.h"
|
| #include "ui/base/window_open_disposition.h"
|
|
|
| #if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| @@ -234,9 +235,12 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // This also applies in cases where the new URL will open in another process.
|
| virtual bool ShouldAllowOpenURL(SiteInstance* site_instance, const GURL& url);
|
|
|
| - // Allows the embedder to override OpenURLParams.
|
| - virtual void OverrideOpenURLParams(SiteInstance* site_instance,
|
| - OpenURLParams* params) {}
|
| + // Allows the embedder to override parameters when navigating. Called for both
|
| + // opening new URLs and when transferring URLs across processes.
|
| + virtual void OverrideNavigationParams(SiteInstance* site_instance,
|
| + ui::PageTransition* transition,
|
| + bool* is_renderer_initiated,
|
| + content::Referrer* referrer) {}
|
|
|
| // Returns whether a new view for a given |site_url| can be launched in a
|
| // given |process_host|.
|
|
|