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

Unified Diff: extensions/renderer/extension_bindings_system.h

Issue 2940893002: [Extensions] Pass EventFilteringInfo directly in DispatchEvent message (Closed)
Patch Set: . 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
Index: extensions/renderer/extension_bindings_system.h
diff --git a/extensions/renderer/extension_bindings_system.h b/extensions/renderer/extension_bindings_system.h
index 0f5991360b92ffcae770498f7fd2427247ef3d36..d156d88a20b05bfa8e30937a8e235190bf33eba8 100644
--- a/extensions/renderer/extension_bindings_system.h
+++ b/extensions/renderer/extension_bindings_system.h
@@ -8,11 +8,11 @@
#include <string>
namespace base {
-class DictionaryValue;
class ListValue;
}
namespace extensions {
+struct EventFilteringInfo;
lazyboy 2017/06/15 17:12:23 nit: struct after all class declarations.
Devlin 2017/06/15 18:01:06 Done.
class RequestSender;
class ScriptContext;
@@ -38,11 +38,10 @@ class ExtensionBindingsSystem {
// Dispatches an event with the given |name|, |event_args|, and
// |filtering_info| in the given |context|.
- virtual void DispatchEventInContext(
- const std::string& event_name,
- const base::ListValue* event_args,
- const base::DictionaryValue* filtering_info,
- ScriptContext* context) = 0;
+ virtual void DispatchEventInContext(const std::string& event_name,
+ const base::ListValue* event_args,
+ const EventFilteringInfo* filtering_info,
+ ScriptContext* context) = 0;
// Returns true if there is a listener for the given |event_name| in the
// associated |context|.

Powered by Google App Engine
This is Rietveld 408576698