Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(744)

Unified Diff: extensions/browser/api/app_runtime/app_runtime_api.h

Issue 354483004: Implement <appview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app_view_skeleton
Patch Set: Added tests Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698