Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Side by Side Diff: ash/display/null_mouse_warp_controller.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/display/mouse_cursor_event_filter.h ('k') | ash/display/projecting_observer_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_DISPLAY_NULL_MOUSE_WARP_CONTROLLER_H 5 #ifndef ASH_DISPLAY_NULL_MOUSE_WARP_CONTROLLER_H
6 #define ASH_DISPLAY_NULL_MOUSE_WARP_CONTROLLER_H 6 #define ASH_DISPLAY_NULL_MOUSE_WARP_CONTROLLER_H
7 7
8 #include "ash/display/mouse_warp_controller.h" 8 #include "ash/display/mouse_warp_controller.h"
9 9
10 #include "base/macros.h"
11
10 namespace ash { 12 namespace ash {
11 13
12 // A MouseWarpController when there is one desktop display 14 // A MouseWarpController when there is one desktop display
13 // (in single display or mirror mode). 15 // (in single display or mirror mode).
14 class NullMouseWarpController : public MouseWarpController { 16 class NullMouseWarpController : public MouseWarpController {
15 public: 17 public:
16 NullMouseWarpController() {} 18 NullMouseWarpController() {}
17 19
18 // MouseWarpController: 20 // MouseWarpController:
19 bool WarpMouseCursor(ui::MouseEvent* event) override; 21 bool WarpMouseCursor(ui::MouseEvent* event) override;
20 void SetEnabled(bool enable) override; 22 void SetEnabled(bool enable) override;
21 23
22 private: 24 private:
23 DISALLOW_COPY_AND_ASSIGN(NullMouseWarpController); 25 DISALLOW_COPY_AND_ASSIGN(NullMouseWarpController);
24 }; 26 };
25 27
26 } // namespace ash 28 } // namespace ash
27 29
28 #endif // ASH_DISPLAY_MOUSE_WARP_CONTROLLER_H 30 #endif // ASH_DISPLAY_MOUSE_WARP_CONTROLLER_H
OLDNEW
« no previous file with comments | « ash/display/mouse_cursor_event_filter.h ('k') | ash/display/projecting_observer_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698