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

Unified Diff: ash/mus/bridge/shell_port_mash.h

Issue 2857963003: Add {Lock,Unlock,Show,Hide}Cursor() to the window manager mojom. (Closed)
Patch Set: early return -> braces and comment Created 3 years, 7 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
Index: ash/mus/bridge/shell_port_mash.h
diff --git a/ash/mus/bridge/shell_port_mash.h b/ash/mus/bridge/shell_port_mash.h
index 4d40964872ae6473e3610171d2ee6cd7b2119708..693c97ab163bd575b787005f792b58c99257bfa8 100644
--- a/ash/mus/bridge/shell_port_mash.h
+++ b/ash/mus/bridge/shell_port_mash.h
@@ -74,6 +74,9 @@ class ShellPortMash : public ShellPort, public WindowTreeHostManager::Observer {
const gfx::Insets& insets) override;
void LockCursor() override;
void UnlockCursor() override;
+ void ShowCursor() override;
+ void HideCursor() override;
+ void SetGlobalOverrideCursor(base::Optional<ui::CursorData> cursor) override;
bool IsMouseEventsEnabled() override;
std::vector<WmWindow*> GetAllRootWindows() override;
void RecordGestureAction(GestureActionType action) override;

Powered by Google App Engine
This is Rietveld 408576698