Implement a "continue-activity" event on app for resuming from hand-off.
This commit is contained in:
parent
6df4bb176d
commit
c20acb0361
5 changed files with 27 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
#define ATOM_BROWSER_BROWSER_OBSERVER_H_
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
namespace atom {
|
||||
|
||||
|
@ -45,6 +46,11 @@ class BrowserObserver {
|
|||
// The browser requests HTTP login.
|
||||
virtual void OnLogin(LoginHandler* login_handler) {}
|
||||
|
||||
// The browser wants to resume a user activity via handoff. (OS X only)
|
||||
virtual void OnContinueUserActivity(bool* handled,
|
||||
const std::string& type,
|
||||
const std::map<std::string, std::string>& user_info) {}
|
||||
|
||||
protected:
|
||||
virtual ~BrowserObserver() {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue