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

Unified Diff: ui/platform_window/platform_window.h

Issue 873563002: [Ozone] Constrain the cursor when overscan insets are set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: ui/platform_window/platform_window.h
diff --git a/ui/platform_window/platform_window.h b/ui/platform_window/platform_window.h
index d5f5750e213f52de0581fdadf4aecb63c77545f6..915c8da4f6e65a54905f9f436eefec2bd9624415 100644
--- a/ui/platform_window/platform_window.h
+++ b/ui/platform_window/platform_window.h
@@ -43,6 +43,7 @@ class PlatformWindow {
virtual void SetCursor(PlatformCursor cursor) = 0;
pkotwicz 2015/01/23 03:40:27 We should have a comment about the coordinates of
spang 2015/01/23 18:18:40 Could call them "platform window coordinates". "Ho
virtual void MoveCursorTo(const gfx::Point& location) = 0;
+ virtual void ConfineCursorToBounds(const gfx::Rect& bounds) = 0;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698