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 // TODO(tapted): Rename this file event_generator_delegate_aura.h. | 5 #ifndef UI_AURA_TEST_EVENT_GENERATOR_DELEGATE_AURA_H_ |
6 | 6 #define UI_AURA_TEST_EVENT_GENERATOR_DELEGATE_AURA_H_ |
7 #ifndef UI_AURA_TEST_EVENT_GENERATOR_H_ | |
8 #define UI_AURA_TEST_EVENT_GENERATOR_H_ | |
9 | 7 |
10 #include "ui/events/test/event_generator.h" | 8 #include "ui/events/test/event_generator.h" |
11 | 9 |
12 namespace aura { | 10 namespace aura { |
13 class Window; | 11 class Window; |
14 class WindowTreeHost; | 12 class WindowTreeHost; |
15 | 13 |
16 namespace client { | 14 namespace client { |
17 class ScreenPositionClient; | 15 class ScreenPositionClient; |
18 } | 16 } |
(...skipping 25 matching lines...) Expand all Loading... |
44 gfx::Point* point) const OVERRIDE; | 42 gfx::Point* point) const OVERRIDE; |
45 virtual void ConvertPointToTarget(const ui::EventTarget* target, | 43 virtual void ConvertPointToTarget(const ui::EventTarget* target, |
46 gfx::Point* point) const OVERRIDE; | 44 gfx::Point* point) const OVERRIDE; |
47 virtual void ConvertPointFromHost(const ui::EventTarget* hosted_target, | 45 virtual void ConvertPointFromHost(const ui::EventTarget* hosted_target, |
48 gfx::Point* point) const OVERRIDE; | 46 gfx::Point* point) const OVERRIDE; |
49 | 47 |
50 private: | 48 private: |
51 DISALLOW_COPY_AND_ASSIGN(EventGeneratorDelegateAura); | 49 DISALLOW_COPY_AND_ASSIGN(EventGeneratorDelegateAura); |
52 }; | 50 }; |
53 | 51 |
54 // Expose the EventGenerator from ui::test in the aura::test namespace. | |
55 // TODO(tapted): Remove this. | |
56 using ui::test::EventGenerator; | |
57 | |
58 } // namespace test | 52 } // namespace test |
59 } // namespace aura | 53 } // namespace aura |
60 | 54 |
61 #endif // UI_AURA_TEST_EVENT_GENERATOR_H_ | 55 #endif // UI_AURA_TEST_EVENT_GENERATOR_DELEGATE_AURA_H_ |
OLD | NEW |