Index: ash/test/ash_test_base.h |
diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h |
index c93451ee337b2493f74d4a1f37299f873fcc7df8..35300179f8c75d0b132f3bb087868ebb481ef920 100644 |
--- a/ash/test/ash_test_base.h |
+++ b/ash/test/ash_test_base.h |
@@ -114,6 +114,14 @@ class AshTestBase : public testing::Test { |
// hasn't been created yet. |
ui::test::EventGenerator& GetEventGenerator(); |
+ // Convenience method to return the DisplayManager. |
+ DisplayManager* display_manager(); |
+ |
+ // Test if moving a mouse to |point_in_screen| warps it to another |
+ // display. |
+ bool TestIfMouseWarpsAt(ui::test::EventGenerator& event_generator, |
+ const gfx::Point& point_in_screen); |
+ |
protected: |
enum UserSessionBlockReason { |
FIRST_BLOCK_REASON, |
@@ -168,6 +176,9 @@ class AshTestBase : public testing::Test { |
void DisableIME(); |
+ // Swap the primary display with the secondary. |
+ void SwapPrimaryDisplay(); |
+ |
private: |
friend class ash::AshTestImplAura; |