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

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

Issue 2814743009: Make adjustable large cursor enabled by default (Closed)
Patch Set: Rebase. Created 3 years, 8 months 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/ash_switches.cc ('k') | ash/display/cursor_window_controller.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CURSOR_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_
6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ 6 #define ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 // The native_type of the cursor, see definitions in cursor.h 81 // The native_type of the cursor, see definitions in cursor.h
82 int cursor_type_; 82 int cursor_type_;
83 83
84 // The last requested cursor visibility. 84 // The last requested cursor visibility.
85 bool visible_; 85 bool visible_;
86 86
87 ui::CursorSetType cursor_set_; 87 ui::CursorSetType cursor_set_;
88 gfx::Point hot_point_; 88 gfx::Point hot_point_;
89 89
90 bool enable_adjustable_large_cursor_;
91 int large_cursor_size_in_dip_; 90 int large_cursor_size_in_dip_;
92 91
93 // The display on which the cursor is drawn. 92 // The display on which the cursor is drawn.
94 // For mirroring mode, the display is always the primary display. 93 // For mirroring mode, the display is always the primary display.
95 display::Display display_; 94 display::Display display_;
96 95
97 std::unique_ptr<aura::Window> cursor_window_; 96 std::unique_ptr<aura::Window> cursor_window_;
98 std::unique_ptr<CursorWindowDelegate> delegate_; 97 std::unique_ptr<CursorWindowDelegate> delegate_;
99 98
100 DISALLOW_COPY_AND_ASSIGN(CursorWindowController); 99 DISALLOW_COPY_AND_ASSIGN(CursorWindowController);
101 }; 100 };
102 101
103 } // namespace ash 102 } // namespace ash
104 103
105 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_ 104 #endif // ASH_DISPLAY_CURSOR_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/display/cursor_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698