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

Unified Diff: ui/ozone/platform/caca/caca_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/ozone/platform/caca/caca_window.h
diff --git a/ui/ozone/platform/caca/caca_window.h b/ui/ozone/platform/caca/caca_window.h
index 70115d099382652ef4936d5bfb83758e5eed148e..b0a20eeea01429e1d28167691d0e97382508dd75 100644
--- a/ui/ozone/platform/caca/caca_window.h
+++ b/ui/ozone/platform/caca/caca_window.h
@@ -60,6 +60,7 @@ class CacaWindow : public PlatformWindow, public PlatformEventDispatcher {
void Restore() override;
void SetCursor(PlatformCursor cursor) override;
void MoveCursorTo(const gfx::Point& location) override;
+ void ConfineCursorToBounds(const gfx::Rect& bounds) override;
// PlatformEventDispatcher:
bool CanDispatchEvent(const PlatformEvent& event) override;
« no previous file with comments | « ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc ('k') | ui/ozone/platform/caca/caca_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698