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

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: GetActiveWindow -> GetCursorWindow 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
« no previous file with comments | « ui/aura/window_tree_host_ozone.cc ('k') | ui/base/cursor/ozone/cursor_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ac18a5010d08faeed940db3c74f7b9b7d71c8cff 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 GetCursorWindow();
+
private:
static CursorFactoryOzone* impl_; // not owned
};
« no previous file with comments | « ui/aura/window_tree_host_ozone.cc ('k') | ui/base/cursor/ozone/cursor_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698