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
|
@ -96,6 +96,9 @@ class Browser : public WindowListObserver {
|
|||
// Creates an activity and sets it as the one currently in use.
|
||||
void SetUserActivity(const std::string& type, const std::map<std::string, std::string>& user_info);
|
||||
|
||||
// Resumes an activity via hand-off.
|
||||
bool ContinueUserActivity(const std::string& type, const std::map<std::string, std::string>& user_info);
|
||||
|
||||
// Bounce the dock icon.
|
||||
enum BounceType {
|
||||
BOUNCE_CRITICAL = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue