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

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

Issue 2666193002: Switch RenderViewContextMenu to use RequestOpenURL (Closed)
Patch Set: Address Charlie's comments 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 101a929015d1472e307017faa8b8df022cb455ba..c3db7d188332668261784b124efbf04e29fe140a 100644
--- a/content/browser/frame_host/navigator_delegate.h
+++ b/content/browser/frame_host/navigator_delegate.h
@@ -94,9 +94,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