OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #include "ui/gfx/x/x11_types.h" |
| 6 |
| 7 typedef unsigned long Cursor; |
| 8 |
| 9 namespace views { |
| 10 |
| 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); |
| 14 |
| 15 // Sets the cursor to use for the duration of the active pointer grab. |
| 16 void ChangeActivePointerGrabCursor(::Cursor cursor); |
| 17 |
| 18 // Ungrabs the pointer. |
| 19 void UngrabPointer(); |
| 20 |
| 21 } // namespace views |
OLD | NEW |