| Index: components/mus/public/cpp/window_tree_connection.h
|
| diff --git a/components/mus/public/cpp/window_tree_connection.h b/components/mus/public/cpp/window_tree_connection.h
|
| index daa2f682a8dd683c688fc25033fd7f2ab80e52b9..8c31df6ec194b04094fb25739f25df8e1bcb3513 100644
|
| --- a/components/mus/public/cpp/window_tree_connection.h
|
| +++ b/components/mus/public/cpp/window_tree_connection.h
|
| @@ -15,6 +15,10 @@
|
| #include "components/mus/public/interfaces/window_tree.mojom.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
|
|
| +namespace gfx {
|
| +class Point;
|
| +}
|
| +
|
| namespace shell {
|
| class Connector;
|
| }
|
| @@ -77,6 +81,10 @@ class WindowTreeConnection {
|
| // Sets focus to null. This does nothing if focus is currently null.
|
| virtual void ClearFocus() = 0;
|
|
|
| + // Synchronously asks the window server for the current location of the mouse
|
| + // cursor on screen.
|
| + virtual gfx::Point GetCursorScreenPoint() = 0;
|
| +
|
| // Creates and returns a new Window (which is owned by the window server).
|
| // Windows are initially hidden, use SetVisible(true) to show.
|
| Window* NewWindow() { return NewWindow(nullptr); }
|
|
|