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

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: Fixed formatting Created 6 years, 5 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..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);
« no previous file with comments | « content/renderer/browser_plugin/browser_plugin.cc ('k') | extensions/browser/api/app_runtime/app_runtime_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698