Move navigator related APIs to webContents.
This commit is contained in:
parent
e70d195cde
commit
c8a82e6e50
5 changed files with 67 additions and 74 deletions
|
@ -103,18 +103,6 @@ class Window : public mate::EventEmitter,
|
|||
mate::Handle<WebContents> GetWebContents(v8::Isolate* isolate) const;
|
||||
mate::Handle<WebContents> GetDevToolsWebContents(v8::Isolate* isolate) const;
|
||||
|
||||
// APIs for NavigationController.
|
||||
void LoadURL(const GURL& url);
|
||||
bool CanGoBack();
|
||||
bool CanGoForward();
|
||||
bool CanGoToOffset(int offset);
|
||||
void GoBack();
|
||||
void GoForward();
|
||||
void GoToIndex(int index);
|
||||
void GoToOffset(int offset);
|
||||
void Reload();
|
||||
void ReloadIgnoringCache();
|
||||
|
||||
scoped_ptr<NativeWindow> window_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(Window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue