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

Unified Diff: ui/aura/event_filter.h

Issue 9315004: Remove Owner param to EventFilter's ctor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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 | « ui/aura/aura.gyp ('k') | ui/aura/event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/event_filter.h
===================================================================
--- ui/aura/event_filter.h (revision 119894)
+++ ui/aura/event_filter.h (working copy)
@@ -32,8 +32,7 @@
// chance to prevent further processing of the event and/or take other actions.
class AURA_EXPORT EventFilter {
public:
- explicit EventFilter(Window* owner);
- virtual ~EventFilter();
+ virtual ~EventFilter() {}
// Parameters: a |target| Window and the |event|. The target window is the
// window the event was targeted at. If |event| is a LocatedEvent, its
@@ -58,14 +57,6 @@
// consumed.
virtual ui::GestureStatus PreHandleGestureEvent(Window* target,
GestureEvent* event) = 0;
-
- protected:
- Window* owner() { return owner_; }
-
- private:
- Window* owner_;
-
- DISALLOW_COPY_AND_ASSIGN(EventFilter);
};
} // namespace aura
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698