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

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

Issue 2212303003: Implement app launch changes for app runtime extension proposal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-screenshot
Patch Set: Initial upload Created 4 years, 4 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 1548387b2e57d4b0040b00cd457c2fc15139d51c..b9873164381a5e6bae2792311cb393ed4e97d299 100644
--- a/extensions/browser/api/app_runtime/app_runtime_api.h
+++ b/extensions/browser/api/app_runtime/app_runtime_api.h
@@ -75,6 +75,12 @@ class AppRuntimeEventRouter {
const std::string& handler_id,
const GURL& url,
const GURL& referrer_url);
+
+ // Dispatch an onLaunched event with a specific action.
+ static void DispatchOnLaunchedEventWithAction(
+ content::BrowserContext* context,
+ const Extension* extension,
+ ActionData action_data);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698