| Index: ui/base/x/x11_util.h
|
| diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
|
| index ffcf8461c75613fe43ba39aeec23b08db6c298ed..aafbf65aa322319297c10ef541c66124239b7ff2 100644
|
| --- a/ui/base/x/x11_util.h
|
| +++ b/ui/base/x/x11_util.h
|
| @@ -45,6 +45,13 @@ namespace ui {
|
| // Returns true if the system supports XINPUT2.
|
| UI_BASE_EXPORT bool IsXInput2Available();
|
|
|
| +// Grabs the pointer. It is unnecessary to ungrab the pointer prior to grabbing
|
| +// it.
|
| +UI_BASE_EXPORT int GrabPointer(XID window, bool owner_events, ::Cursor cursor);
|
| +
|
| +// Ungrabs the pointer.
|
| +UI_BASE_EXPORT void UngrabPointer();
|
| +
|
| // X shared memory comes in three flavors:
|
| // 1) No SHM support,
|
| // 2) SHM putimage,
|
|
|