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

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

Issue 2468673003: [Extensions] Remove ExtensionWebUI (Closed)
Patch Set: nit 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
« no previous file with comments | « content/browser/webui/web_ui_impl.cc ('k') | content/public/browser/web_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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|.
« no previous file with comments | « content/browser/webui/web_ui_impl.cc ('k') | content/public/browser/web_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698