cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / ppapi / cpp / dev / cursor_control_dev.h
blob0ad974806e951ff03b64fc6e47b3cb48cb456372
1 // Copyright (c) 2012 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 #ifndef PPAPI_CPP_DEV_CURSOR_CONTROL_DEV_H_
6 #define PPAPI_CPP_DEV_CURSOR_CONTROL_DEV_H_
8 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
10 /// @file
11 /// This file defines APIs for controlling the cursor.
13 namespace pp {
15 class ImageData;
16 class InstanceHandle;
17 class Point;
19 /// APIs for controlling the cursor.
20 class CursorControl_Dev {
21 public:
22 CursorControl_Dev() {}
24 bool SetCursor(const InstanceHandle& instance,
25 PP_CursorType_Dev type,
26 const ImageData& custom_image,
27 const Point& hot_spot);
28 bool LockCursor(const InstanceHandle& instance);
29 bool UnlockCursor(const InstanceHandle& instance);
30 bool HasCursorLock(const InstanceHandle& instance);
31 bool CanLockCursor(const InstanceHandle& instance);
34 } // namespace pp
36 #endif // PPAPI_CPP_DEV_CURSOR_CONTROL_DEV_H_