| Index: extensions/browser/api/app_runtime/app_runtime_api.h
|
| diff --git a/extensions/browser/api/app_runtime/app_runtime_api.h b/extensions/browser/api/app_runtime/app_runtime_api.h
|
| index c2d59fc56aa048b4da00877d46db37e53e68d871..1beed1d32ce2209f0cff9c6fadac48277e659cbc 100644
|
| --- a/extensions/browser/api/app_runtime/app_runtime_api.h
|
| +++ b/extensions/browser/api/app_runtime/app_runtime_api.h
|
| @@ -8,8 +8,14 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "base/memory/scoped_ptr.h"
|
| +
|
| class GURL;
|
|
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| namespace content {
|
| class BrowserContext;
|
| class WebContents;
|
| @@ -22,6 +28,12 @@ struct GrantedFileEntry;
|
|
|
| class AppRuntimeEventRouter {
|
| public:
|
| + // Dispatches the onEmbedRequested event to the given app.
|
| + static void DispatchOnEmbedRequestedEvent(
|
| + content::BrowserContext* context,
|
| + scoped_ptr<base::DictionaryValue> app_embedding_request_data,
|
| + const extensions::Extension* extension);
|
| +
|
| // Dispatches the onLaunched event to the given app.
|
| static void DispatchOnLaunchedEvent(content::BrowserContext* context,
|
| const Extension* extension);
|
|
|