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..9320c4ce8bc898b6616b9b20f212a270fdf10e54 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" |
+ |
class GURL; |
namespace content { |
@@ -22,6 +25,12 @@ struct GrantedFileEntry; |
class AppRuntimeEventRouter { |
public: |
+ // Dispatches the onAppEmbeddingRequest event to the given app. |
+ static void DispatchOnAppEmbeddingRequestEvent( |
+ 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); |