Chromium Code Reviews| Index: content/public/browser/page_navigator.h |
| diff --git a/content/public/browser/page_navigator.h b/content/public/browser/page_navigator.h |
| index 945c96ec763622ccb5d52ba036cd723e8867deec..b7fd9f96e0dd7ff8f3ce19a91d838cfc7698b993 100644 |
| --- a/content/public/browser/page_navigator.h |
| +++ b/content/public/browser/page_navigator.h |
| @@ -14,6 +14,7 @@ |
| #include "base/memory/ref_counted.h" |
| #include "content/common/content_export.h" |
| #include "content/public/browser/global_request_id.h" |
| +#include "content/public/browser/render_frame_host.h" |
| #include "content/public/browser/site_instance.h" |
| #include "content/public/common/referrer.h" |
| #include "content/public/common/resource_request_body.h" |
| @@ -99,6 +100,10 @@ class PageNavigator { |
| public: |
| virtual ~PageNavigator() {} |
| + // Opens a URL with the given parameters. |
| + virtual void RequestOpenURL(RenderFrameHost* render_frame_host, |
|
Charlie Reis
2017/02/02 23:34:22
I think we'll need to find a way to improve this p
|
| + const OpenURLParams& params) {} |
| + |
| // Opens a URL with the given disposition. The transition specifies how this |
| // navigation should be recorded in the history system (for example, typed). |
| // Returns the WebContents the URL is opened in, or nullptr if the URL wasn't |