Chromium Code Reviews| 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..5cae7946b8dbf3059bce64173bcaa23c73b6c42a 100644 |
| --- a/extensions/browser/api/app_runtime/app_runtime_api.h |
| +++ b/extensions/browser/api/app_runtime/app_runtime_api.h |
| @@ -8,6 +8,9 @@ |
| #include <string> |
| #include <vector> |
| +#include "base/memory/scoped_ptr.h" |
| +#include "base/values.h" |
|
James Cook
2014/07/11 03:16:01
Forward declare base::DictionaryValue, you don't n
Fady Samuel
2014/07/11 15:28:55
Done.
|
| + |
| class GURL; |
| namespace content { |
| @@ -22,6 +25,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); |