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

Unified Diff: ui/aura/shared/compound_event_filter.h

Issue 10960015: aura: Start converting event-filters into event-handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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: ui/aura/shared/compound_event_filter.h
diff --git a/ui/aura/shared/compound_event_filter.h b/ui/aura/shared/compound_event_filter.h
index 64d3dd7ae92da50491a9d35b5403c2143a8f0856..39f1be69aed73c6070f98cd45bb0574153d32c03 100644
--- a/ui/aura/shared/compound_event_filter.h
+++ b/ui/aura/shared/compound_event_filter.h
@@ -46,9 +46,10 @@ class AURA_EXPORT CompoundEventFilter : public EventFilter {
// Adds/removes additional event filters. This does not take ownership of
// the EventFilter.
+ // NOTE: EventFilters are deprecated. Use env::AddPreTargetEventHandler etc.
+ // instead.
void AddFilter(EventFilter* filter);
void RemoveFilter(EventFilter* filter);
- size_t GetFilterCount() const;
private:
// Updates the cursor if the target provides a custom one, and provides

Powered by Google App Engine
This is Rietveld 408576698