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

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

Issue 2468673003: [Extensions] Remove ExtensionWebUI (Closed)
Patch Set: Charlie's Created 4 years, 1 month 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.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 3f7c9ead94d7a15e11e07d1016c3ff86e1d23605..ce419e9334a58a798f049d07b4c41d26d576f2d0 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 transfer urls.
Charlie Reis 2016/11/07 21:00:03 nit: opening new URLs and when transferring URLs a
Devlin 2016/11/09 15:45:54 Done.
+ 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|.

Powered by Google App Engine
This is Rietveld 408576698