OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ui/views/corewm/compound_event_filter.h" | 5 #include "ui/views/corewm/compound_event_filter.h" |
6 | 6 |
7 #include "base/hash_tables.h" | 7 #include "base/containers/hash_tables.h" |
8 #include "ui/aura/client/activation_client.h" | 8 #include "ui/aura/client/activation_client.h" |
9 #include "ui/aura/client/cursor_client.h" | 9 #include "ui/aura/client/cursor_client.h" |
10 #include "ui/aura/client/drag_drop_client.h" | 10 #include "ui/aura/client/drag_drop_client.h" |
11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
12 #include "ui/aura/focus_manager.h" | 12 #include "ui/aura/focus_manager.h" |
13 #include "ui/aura/root_window.h" | 13 #include "ui/aura/root_window.h" |
14 #include "ui/aura/window_delegate.h" | 14 #include "ui/aura/window_delegate.h" |
15 #include "ui/aura/window_tracker.h" | 15 #include "ui/aura/window_tracker.h" |
16 #include "ui/base/events/event.h" | 16 #include "ui/base/events/event.h" |
17 #include "ui/base/hit_test.h" | 17 #include "ui/base/hit_test.h" |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 if (handlers_.might_have_observers()) { | 254 if (handlers_.might_have_observers()) { |
255 ObserverListBase<ui::EventHandler>::Iterator it(handlers_); | 255 ObserverListBase<ui::EventHandler>::Iterator it(handlers_); |
256 ui::EventHandler* handler; | 256 ui::EventHandler* handler; |
257 while (!event->stopped_propagation() && (handler = it.GetNext()) != NULL) | 257 while (!event->stopped_propagation() && (handler = it.GetNext()) != NULL) |
258 handler->OnGestureEvent(event); | 258 handler->OnGestureEvent(event); |
259 } | 259 } |
260 } | 260 } |
261 | 261 |
262 } // namespace corewm | 262 } // namespace corewm |
263 } // namespace views | 263 } // namespace views |
OLD | NEW |