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

Unified Diff: extensions/renderer/declarative_event.h

Issue 2912883004: [Extensions Bindings] Don't allow `event` module with native bindings (Closed)
Patch Set: lazyboy's Created 3 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
« no previous file with comments | « extensions/renderer/api_binding_js_util.cc ('k') | extensions/renderer/declarative_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/declarative_event.h
diff --git a/extensions/renderer/declarative_event.h b/extensions/renderer/declarative_event.h
index f51eeba0f050569696549f1ed3b273309b6e3d0e..b0a7bcba7e130cda81c3012947b64137182dd8f2 100644
--- a/extensions/renderer/declarative_event.h
+++ b/extensions/renderer/declarative_event.h
@@ -27,7 +27,8 @@ class DeclarativeEvent final : public gin::Wrappable<DeclarativeEvent> {
APITypeReferenceMap* type_refs,
APIRequestHandler* request_handler,
const std::vector<std::string>& actions_list,
- const std::vector<std::string>& conditions_list);
+ const std::vector<std::string>& conditions_list,
+ int webview_instance_id);
~DeclarativeEvent() override;
static gin::WrapperInfo kWrapperInfo;
@@ -52,6 +53,8 @@ class DeclarativeEvent final : public gin::Wrappable<DeclarativeEvent> {
APIRequestHandler* request_handler_;
+ const int webview_instance_id_;
+
DISALLOW_COPY_AND_ASSIGN(DeclarativeEvent);
};
« no previous file with comments | « extensions/renderer/api_binding_js_util.cc ('k') | extensions/renderer/declarative_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698