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

Unified Diff: extensions/renderer/event_bindings.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/dispatcher.cc ('k') | extensions/renderer/event_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/event_bindings.h
diff --git a/extensions/renderer/event_bindings.h b/extensions/renderer/event_bindings.h
index 853eebee1c3b4abb19621af4374bce8989415780..61b140ec7a6a5354beaaafbb75d9372aca6e45a9 100644
--- a/extensions/renderer/event_bindings.h
+++ b/extensions/renderer/event_bindings.h
@@ -18,11 +18,11 @@ class Sender;
}
namespace base {
-class DictionaryValue;
class ListValue;
}
namespace extensions {
+struct EventFilteringInfo;
// This class deals with the javascript bindings related to Event objects.
class EventBindings : public ObjectBackedNativeHandler {
@@ -37,11 +37,10 @@ class EventBindings : public ObjectBackedNativeHandler {
// Dispatches the event in the given |context| with the provided
// |event_args| and |filtering_info|.
- static void DispatchEventInContext(
- const std::string& event_name,
- const base::ListValue* event_args,
- const base::DictionaryValue* filtering_info,
- ScriptContext* context);
+ static void DispatchEventInContext(const std::string& event_name,
+ const base::ListValue* event_args,
+ const EventFilteringInfo* filtering_info,
+ ScriptContext* context);
private:
// JavaScript handler which forwards to AttachEvent().
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/event_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698