| Index: ash/test/ash_test_base.h
|
| diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h
|
| index 40ae938c38607cf3f0490631efd3e47f9cce8694..8b77e0fa210728598bf613d58c283fea8784d526 100644
|
| --- a/ash/test/ash_test_base.h
|
| +++ b/ash/test/ash_test_base.h
|
| @@ -18,12 +18,16 @@
|
| namespace aura {
|
| class Window;
|
| class WindowDelegate;
|
| -}
|
| +
|
| +namespace test {
|
| +class EventGenerator;
|
| +} // namespace test
|
| +} // namespace aura
|
|
|
| namespace ash {
|
| namespace internal {
|
| class DisplayManager;
|
| -} // internal
|
| +} // namespace internal
|
|
|
| namespace test {
|
|
|
| @@ -81,6 +85,11 @@ class AshTestBase : public testing::Test {
|
| // Attach |window| to the current shell's root window.
|
| void SetDefaultParentByPrimaryRootWindow(aura::Window* window);
|
|
|
| + // Returns the EventGenerator that uses screen coordinates and works
|
| + // across multiple displays. It createse a new generator if it
|
| + // hasn't been created yet.
|
| + aura::test::EventGenerator& GetEventGenerator();
|
| +
|
| protected:
|
| void RunAllPendingInMessageLoop();
|
|
|
| @@ -95,6 +104,8 @@ class AshTestBase : public testing::Test {
|
|
|
| TestShellDelegate* test_shell_delegate_;
|
|
|
| + scoped_ptr<aura::test::EventGenerator> event_generator_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AshTestBase);
|
| };
|
|
|
|
|