Implement a "continue-activity" event on app for resuming from hand-off.

This commit is contained in:
Charlie Hess 2016-04-29 17:36:04 -07:00
parent 6df4bb176d
commit c20acb0361
5 changed files with 27 additions and 0 deletions

View file

@ -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() {}
};