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

Unified Diff: ash/shell_port.h

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/test/cursor_manager_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_port.h
diff --git a/ash/shell_port.h b/ash/shell_port.h
index a2844bead1531223a0a3486c5ed8d8bfe8a3fc77..a46326154a5eece5b9db305f8f68dfc0fe913382 100644
--- a/ash/shell_port.h
+++ b/ash/shell_port.h
@@ -33,6 +33,10 @@ namespace gfx {
class Point;
}
+namespace ui {
+enum class CursorSize;
+}
+
namespace views {
class PointerWatcher;
enum class PointerWatcherEventTypes;
@@ -102,6 +106,7 @@ class ASH_EXPORT ShellPort {
virtual void UnlockCursor() = 0;
virtual void ShowCursor() = 0;
virtual void HideCursor() = 0;
+ virtual void SetCursorSize(ui::CursorSize cursor_size) = 0;
virtual void SetGlobalOverrideCursor(
base::Optional<ui::CursorData> cursor) = 0;
virtual bool IsMouseEventsEnabled() = 0;
« no previous file with comments | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/test/cursor_manager_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698