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

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

Issue 2666193002: Switch RenderViewContextMenu to use RequestOpenURL (Closed)
Patch Set: cleanup Created 3 years, 10 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 0a5e3c33b811cbc42f6b80858b449c369b837808..3dd377265b02d9a6e562449ac85606a0c1846534 100644
--- a/content/browser/frame_host/navigator_delegate.h
+++ b/content/browser/frame_host/navigator_delegate.h
@@ -106,9 +106,8 @@ class CONTENT_EXPORT NavigatorDelegate {
ReloadType reload_type) {}
// Opens a URL with the given parameters. See PageNavigator::OpenURL, which
- // this forwards to.
- virtual void RequestOpenURL(RenderFrameHostImpl* render_frame_host,
- const OpenURLParams& params) {}
+ // this is an alias of.
+ virtual WebContents* OpenURL(const OpenURLParams& params) = 0;
// Returns whether to continue a navigation that needs to transfer to a
// different process between the load start and commit.

Powered by Google App Engine
This is Rietveld 408576698