1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_DISPLAY_NULL_MOUSE_WARP_CONTROLLER_H
6 #define ASH_DISPLAY_NULL_MOUSE_WARP_CONTROLLER_H
8 #include "ash/display/mouse_warp_controller.h"
12 // A MouseWarpController when there is one desktop display
13 // (in single display or mirror mode).
14 class NullMouseWarpController
: public MouseWarpController
{
16 NullMouseWarpController() {}
18 // MouseWarpController:
19 bool WarpMouseCursor(ui::MouseEvent
* event
) override
;
20 void SetEnabled(bool enable
) override
;
23 DISALLOW_COPY_AND_ASSIGN(NullMouseWarpController
);
28 #endif // ASH_DISPLAY_MOUSE_WARP_CONTROLLER_H