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

Unified Diff: ui/ozone/platform/dri/dri_window_manager.h

Issue 766583002: ozone: dri: Support moving between displays in MoveCursorTo(location) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/ozone/platform/dri/dri_window.cc ('k') | ui/ozone/platform/dri/dri_window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/dri_window_manager.h
diff --git a/ui/ozone/platform/dri/dri_window_manager.h b/ui/ozone/platform/dri/dri_window_manager.h
index c0358cb98d8741d7371a330e30fa967f9ae57ba8..04c056d0aab400d9ca5fd988553f135d1cdaff57 100644
--- a/ui/ozone/platform/dri/dri_window_manager.h
+++ b/ui/ozone/platform/dri/dri_window_manager.h
@@ -10,6 +10,10 @@
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
+namespace gfx {
+class Point;
+}
+
namespace ui {
class DriCursor;
@@ -37,6 +41,9 @@ class DriWindowManager {
// only be called if a valid window has been associated.
DriWindow* GetWindow(gfx::AcceleratedWidget widget);
+ // Returns the window containing the specified screen location, or NULL.
+ DriWindow* GetWindowAt(const gfx::Point& location);
+
DriCursor* cursor() const { return cursor_.get(); }
private:
« no previous file with comments | « ui/ozone/platform/dri/dri_window.cc ('k') | ui/ozone/platform/dri/dri_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698