Add a DownloadURL method on WebContents.

This commit is contained in:
Charlie Hess 2015-12-02 13:49:30 -08:00
parent 85b7aa6933
commit c311c6cf1b
2 changed files with 11 additions and 0 deletions

View file

@ -60,6 +60,7 @@ class WebContents : public mate::TrackableObject<WebContents>,
int GetID() const;
bool Equal(const WebContents* web_contents) const;
void LoadURL(const GURL& url, const mate::Dictionary& options);
void DownloadURL(const GURL& url);
GURL GetURL() const;
base::string16 GetTitle() const;
bool IsLoading() const;