Chromium Code Reviews| Index: ash/wm/maximize_mode/maximize_mode_controller.h |
| diff --git a/ash/wm/maximize_mode/maximize_mode_controller.h b/ash/wm/maximize_mode/maximize_mode_controller.h |
| index f6c7fedb5e427cbee977e82b61cfa4cd85f83a6b..6f593d42fa41cea66e77ee4f33df60e4044ae947 100644 |
| --- a/ash/wm/maximize_mode/maximize_mode_controller.h |
| +++ b/ash/wm/maximize_mode/maximize_mode_controller.h |
| @@ -35,6 +35,7 @@ class MaximizeModeWindowManager; |
| class MaximizeModeWindowManagerTest; |
| namespace test { |
| class MultiUserWindowManagerChromeOSTest; |
| +class VirtualKeyboardControllerTest; |
| } |
| // MaximizeModeController listens to accelerometer events and automatically |
| @@ -135,11 +136,16 @@ class ASH_EXPORT MaximizeModeController |
| friend class MaximizeModeControllerTest; |
| friend class MaximizeModeWindowManagerTest; |
| friend class test::MultiUserWindowManagerChromeOSTest; |
| + friend class test::VirtualKeyboardControllerTest; |
| // Set the TickClock. This is only to be used by tests that need to |
| // artificially and deterministically control the current time. |
| void SetTickClockForTest(scoped_ptr<base::TickClock> tick_clock); |
| + // Set the event blocker for testing. |
| + void InstallEventBlockerForTest( |
|
sky
2015/01/07 16:01:52
Not that your test is a friend you don't need this
rsadam
2015/01/07 16:04:32
That was my first approach, however I got errors t
rsadam
2015/01/07 16:13:02
Done.
|
| + scoped_ptr<ScopedDisableInternalMouseAndKeyboard> blocker); |
| + |
| // Detect hinge rotation from |base| and |lid| accelerometers and |
| // automatically start / stop maximize mode. |
| void HandleHingeRotation(const gfx::Vector3dF& base, |