| 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 #ifndef UI_AURA_ROOT_WINDOW_H_ | 5 #ifndef UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
| 6 #define UI_AURA_ROOT_WINDOW_H_ | 6 #define UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 16 #include "ui/aura/aura_export.h" | 16 #include "ui/aura/aura_export.h" |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 base::WeakPtrFactory<WindowEventDispatcher> repost_event_factory_; | 319 base::WeakPtrFactory<WindowEventDispatcher> repost_event_factory_; |
| 320 | 320 |
| 321 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. | 321 // Used to schedule DispatchHeldEvents() when |move_hold_count_| goes to 0. |
| 322 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; | 322 base::WeakPtrFactory<WindowEventDispatcher> held_event_factory_; |
| 323 | 323 |
| 324 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); | 324 DISALLOW_COPY_AND_ASSIGN(WindowEventDispatcher); |
| 325 }; | 325 }; |
| 326 | 326 |
| 327 } // namespace aura | 327 } // namespace aura |
| 328 | 328 |
| 329 #endif // UI_AURA_ROOT_WINDOW_H_ | 329 #endif // UI_AURA_WINDOW_EVENT_DISPATCHER_H_ |
| OLD | NEW |