diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-08 20:28:43 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-08 20:28:43 +0000 |
commit | 33ec505631bcc1cc6709248b97b468fbdf3d5f0a (patch) | |
tree | 4963e5e21af0f8173c5b6353c34209993b5da852 /ppapi/thunk/ppb_cursor_control_api.h | |
parent | 41c3696d8ebb37c0b2e0afd0361f0b40bc369483 (diff) | |
download | chromium_src-33ec505631bcc1cc6709248b97b468fbdf3d5f0a.zip chromium_src-33ec505631bcc1cc6709248b97b468fbdf3d5f0a.tar.gz chromium_src-33ec505631bcc1cc6709248b97b468fbdf3d5f0a.tar.bz2 |
Add new MouseCursor interface for setting the mouse cursor.
Remove most of the old cursor control interface. This keeps backwards compat for CursorControl.SetCursor (which just redirects to the new function) to kepe existing users running. None of the other functions on cursor control were implemented, so I removed all the proxying and stuff for them.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/9814015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131314 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_cursor_control_api.h')
-rw-r--r-- | ppapi/thunk/ppb_cursor_control_api.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/ppapi/thunk/ppb_cursor_control_api.h b/ppapi/thunk/ppb_cursor_control_api.h deleted file mode 100644 index e4882c6..0000000 --- a/ppapi/thunk/ppb_cursor_control_api.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef PPAPI_THUNK_CURSOR_CONTROL_API_H_ -#define PPAPI_THUNK_CURSOR_CONTROL_API_H_ - -#include "ppapi/c/dev/ppb_cursor_control_dev.h" -#include "ppapi/shared_impl/api_id.h" - -namespace ppapi { -namespace thunk { - -class PPB_CursorControl_FunctionAPI { - public: - virtual ~PPB_CursorControl_FunctionAPI() {} - - virtual PP_Bool SetCursor(PP_Instance instance, - PP_CursorType_Dev type, - PP_Resource custom_image_id, - const PP_Point* hot_spot) = 0; - virtual PP_Bool LockCursor(PP_Instance instance) = 0; - virtual PP_Bool UnlockCursor(PP_Instance instance) = 0; - virtual PP_Bool HasCursorLock(PP_Instance instance) = 0; - virtual PP_Bool CanLockCursor(PP_Instance instance) = 0; - - static const ApiID kApiID = API_ID_PPB_CURSORCONTROL; - -}; - -} // namespace thunk -} // namespace ppapi - -#endif // PPAPI_THUNK_CURSOR_CONTROL_API_H_ |