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

Unified Diff: content/browser/frame_host/navigator_delegate.h

Issue 2377833002: Block navigations in extensions via ShouldTransferNavigation (not via OpenURL). (Closed)
Patch Set: Add missing files under chrome/test/data/extensions/api_test/browser_action/popup_with_form/ Created 4 years, 3 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
Index: content/browser/frame_host/navigator_delegate.h
diff --git a/content/browser/frame_host/navigator_delegate.h b/content/browser/frame_host/navigator_delegate.h
index 71019d1045d8125bc35ecbb8d3d1630523c556c0..ca08298430c15d7d3d9ea6719fa4d74c14c22935 100644
--- a/content/browser/frame_host/navigator_delegate.h
+++ b/content/browser/frame_host/navigator_delegate.h
@@ -115,7 +115,7 @@ class CONTENT_EXPORT NavigatorDelegate {
// Returns whether to continue a navigation that needs to transfer to a
// different process between the load start and commit.
- virtual bool ShouldTransferNavigation();
+ virtual bool ShouldTransferNavigation(bool is_main_frame_navigation);
// Returns whether URLs for aborted browser-initiated navigations should be
// preserved in the omnibox. Defaults to false.

Powered by Google App Engine
This is Rietveld 408576698