Add 'open-url' event for app API. Fixes #36.

This commit is contained in:
Cheng Zhao 2013-07-10 16:10:38 +08:00
parent ce569ebf78
commit 23dd5b4da8
7 changed files with 38 additions and 0 deletions

View file

@ -23,6 +23,9 @@ class BrowserObserver {
virtual void OnOpenFile(bool* prevent_default,
const std::string& file_path) {}
// Browser is used to open a url.
virtual void OnOpenURL(const std::string& url) {}
// The browser has finished loading.
virtual void OnWillFinishLaunching() {}
virtual void OnFinishLaunching() {}