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

Unified Diff: ui/base/cursor/ozone/cursor_factory_ozone.h

Issue 262163003: [Ozone] Proper cursor support for multi-monitor configurations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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: ui/base/cursor/ozone/cursor_factory_ozone.h
diff --git a/ui/base/cursor/ozone/cursor_factory_ozone.h b/ui/base/cursor/ozone/cursor_factory_ozone.h
index 8ea2e742585a93dbf19a344d327d3e5fb604cba7..aefa7fdc47f9f07de005b245d2018544bb8ba848 100644
--- a/ui/base/cursor/ozone/cursor_factory_ozone.h
+++ b/ui/base/cursor/ozone/cursor_factory_ozone.h
@@ -43,6 +43,11 @@ class UI_BASE_EXPORT CursorFactoryOzone {
// TODO(spang): Move this.
virtual void SetCursor(gfx::AcceleratedWidget widget, PlatformCursor cursor);
+ // Returns the window on which the cursor is active.
+ // TODO(dnicoara) Move this once the WindowTreeHost refactoring finishes and
+ // WindowTreeHost::CanDispatchEvent() is no longer present.
+ virtual gfx::AcceleratedWidget GetActiveWindow();
+
private:
static CursorFactoryOzone* impl_; // not owned
};

Powered by Google App Engine
This is Rietveld 408576698