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

Unified Diff: ui/aura/env.cc

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
« no previous file with comments | « ui/aura/env.h ('k') | ui/aura/root_window.h » ('j') | ui/aura/root_window.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index e787c9957b1fb2e2ebaee34c6d552247e9566698..f562ef17b594eb774733af47856035749d4d1edb 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -97,10 +97,6 @@ void Env::SetDisplayManager(DisplayManager* display_manager) {
#endif
}
-void Env::SetEventFilter(EventFilter* event_filter) {
- event_filter_.reset(event_filter);
-}
-
#if !defined(OS_MACOSX)
MessageLoop::Dispatcher* Env::GetDispatcher() {
#if defined(USE_X11)
@@ -135,4 +131,15 @@ void Env::NotifyWindowInitialized(Window* window) {
FOR_EACH_OBSERVER(EnvObserver, observers_, OnWindowInitialized(window));
}
+////////////////////////////////////////////////////////////////////////////////
+// Env, ui::EventTarget implementation:
+
+bool Env::CanAcceptEvents() {
+ return true;
+}
+
+ui::EventTarget* Env::GetParentTarget() {
+ return NULL;
+}
+
} // namespace aura
« no previous file with comments | « ui/aura/env.h ('k') | ui/aura/root_window.h » ('j') | ui/aura/root_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698