Add screen space opacity to opacity tree
[chromium-blink-merge.git] / ash / display / null_mouse_warp_controller.h
blob235bd622f2eb6fc308a7718cac4e289cb0e52ffd
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"
10 namespace ash {
12 // A MouseWarpController when there is one desktop display
13 // (in single display or mirror mode).
14 class NullMouseWarpController : public MouseWarpController {
15 public:
16 NullMouseWarpController() {}
18 // MouseWarpController:
19 bool WarpMouseCursor(ui::MouseEvent* event) override;
20 void SetEnabled(bool enable) override;
22 private:
23 DISALLOW_COPY_AND_ASSIGN(NullMouseWarpController);
26 } // namespace ash
28 #endif // ASH_DISPLAY_MOUSE_WARP_CONTROLLER_H