Make castv2 performance test work.
[chromium-blink-merge.git] / ui / views / widget / desktop_aura / x11_pointer_grab.h
blob6c1ac931ed563fdbd415ce80b3d6fa0f7ef47cc8
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ui/gfx/x/x11_types.h"
7 typedef unsigned long Cursor;
9 namespace views {
11 // Grabs the pointer. It is unnecessary to ungrab the pointer prior to grabbing
12 // it.
13 int GrabPointer(XID window, bool owner_events, ::Cursor cursor);
15 // Sets the cursor to use for the duration of the active pointer grab.
16 void ChangeActivePointerGrabCursor(::Cursor cursor);
18 // Ungrabs the pointer.
19 void UngrabPointer();
21 } // namespace views