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

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
« no previous file with comments | « extensions/renderer/event_bindings.cc ('k') | extensions/renderer/js_extension_bindings_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ef7cfcc48fff7c627b91ddbb1280c3c5306b0a47 100644
--- a/extensions/renderer/extension_bindings_system.h
+++ b/extensions/renderer/extension_bindings_system.h
@@ -8,13 +8,13 @@
#include <string>
namespace base {
-class DictionaryValue;
class ListValue;
}
namespace extensions {
class RequestSender;
class ScriptContext;
+struct EventFilteringInfo;
// The class responsible for creating extension bindings in different contexts,
// as well as dispatching requests and handling responses, and dispatching
@@ -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|.
« no previous file with comments | « extensions/renderer/event_bindings.cc ('k') | extensions/renderer/js_extension_bindings_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698