| Index: extensions/browser/app_window/app_window_client.h
|
| diff --git a/extensions/browser/app_window/app_window_client.h b/extensions/browser/app_window/app_window_client.h
|
| index f026d809760ca1319a584e1bd4fabb56adbbbb2c..98a09d8ed0b914bedaf181b405038f1573d1cff1 100644
|
| --- a/extensions/browser/app_window/app_window_client.h
|
| +++ b/extensions/browser/app_window/app_window_client.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/callback_forward.h"
|
| #include "extensions/browser/app_window/app_window.h"
|
| +#include "extensions/common/api/app_runtime.h"
|
|
|
| namespace content {
|
| class BrowserContext;
|
| @@ -30,6 +31,15 @@ class AppWindowClient {
|
| virtual AppWindow* CreateAppWindow(content::BrowserContext* context,
|
| const Extension* extension) = 0;
|
|
|
| + // Creates a new AppWindow for |extension| as lock screen action handler for
|
| + // |action|. This should be used to create windows that will be used to handle
|
| + // |action| on lock screen. The method should return null window if the app
|
| + // was not requested to handle the action.
|
| + virtual AppWindow* CreateAppWindowForLockScreenAction(
|
| + content::BrowserContext* context,
|
| + const Extension* extension,
|
| + api::app_runtime::ActionType action) = 0;
|
| +
|
| // Creates a new extensions::NativeAppWindow for |window|.
|
| virtual NativeAppWindow* CreateNativeAppWindow(
|
| AppWindow* window,
|
|
|