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

Side by Side Diff: ash/display/unified_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
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_UNIFIED_MOUSE_WARP_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_UNIFIED_MOUSE_WARP_CONTROLLER_H_
6 #define ASH_DISPLAY_UNIFIED_MOUSE_WARP_CONTROLLER_H_ 6 #define ASH_DISPLAY_UNIFIED_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 <stdint.h>
11
12 #include "base/macros.h"
10 #include "ui/gfx/geometry/rect.h" 13 #include "ui/gfx/geometry/rect.h"
11 14
12 namespace aura { 15 namespace aura {
13 class Window; 16 class Window;
14 } 17 }
15 18
16 namespace gfx { 19 namespace gfx {
17 class Point; 20 class Point;
18 } 21 }
19 22
(...skipping 25 matching lines...) Expand all
45 // Returns true if/ the cursor was moved. 48 // Returns true if/ the cursor was moved.
46 bool WarpMouseCursorInNativeCoords(const gfx::Point& point_in_native, 49 bool WarpMouseCursorInNativeCoords(const gfx::Point& point_in_native,
47 const gfx::Point& point_in_screen, 50 const gfx::Point& point_in_screen,
48 bool update_mouse_location_now); 51 bool update_mouse_location_now);
49 52
50 void update_location_for_test() { update_location_for_test_ = true; } 53 void update_location_for_test() { update_location_for_test_ = true; }
51 54
52 gfx::Rect first_edge_bounds_in_native_; 55 gfx::Rect first_edge_bounds_in_native_;
53 gfx::Rect second_edge_bounds_in_native_; 56 gfx::Rect second_edge_bounds_in_native_;
54 57
55 int64 current_cursor_display_id_; 58 int64_t current_cursor_display_id_;
56 59
57 bool update_location_for_test_; 60 bool update_location_for_test_;
58 61
59 DISALLOW_COPY_AND_ASSIGN(UnifiedMouseWarpController); 62 DISALLOW_COPY_AND_ASSIGN(UnifiedMouseWarpController);
60 }; 63 };
61 64
62 } // namespace ash 65 } // namespace ash
63 66
64 #endif // ASH_DISPLAY_UNIFIED_MOUSE_WARP_CONTROLLER_H_ 67 #endif // ASH_DISPLAY_UNIFIED_MOUSE_WARP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/shared_display_edge_indicator.h ('k') | ash/display/unified_mouse_warp_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698