Add an accessor for the current activity type and write the simplest possible test.

This commit is contained in:
Charlie Hess 2016-05-03 15:51:31 -07:00
parent 42768bcc2b
commit 12764a66ed
6 changed files with 29 additions and 9 deletions

View file

@ -469,6 +469,8 @@ void App::BuildPrototype(
.SetMethod("show", base::Bind(&Browser::Show, browser))
.SetMethod("setUserActivity",
base::Bind(&Browser::SetUserActivity, browser))
.SetMethod("getCurrentActivityType",
base::Bind(&Browser::GetCurrentActivityType, browser))
#endif
#if defined(OS_WIN)
.SetMethod("setUserTasks",