Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1158)

Unified Diff: webkit/plugins/ppapi/ppb_cursor_control_impl.cc

Issue 9814015: Add new MouseCursor interface for setting the mouse cursor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_cursor_control_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_cursor_control_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_cursor_control_impl.cc b/webkit/plugins/ppapi/ppb_cursor_control_impl.cc
deleted file mode 100644
index 6525563f8b8d39d26f0ea1632e27aaefc41a3034..0000000000000000000000000000000000000000
--- a/webkit/plugins/ppapi/ppb_cursor_control_impl.cc
+++ /dev/null
@@ -1,62 +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.
-
-#include "webkit/plugins/ppapi/ppb_cursor_control_impl.h"
-
-#include "base/logging.h"
-#include "base/memory/ref_counted.h"
-#include "ppapi/c/dev/pp_cursor_type_dev.h"
-#include "ppapi/c/dev/ppb_cursor_control_dev.h"
-#include "ppapi/c/pp_point.h"
-#include "ppapi/c/pp_resource.h"
-#include "webkit/plugins/ppapi/common.h"
-#include "webkit/plugins/ppapi/ppb_image_data_impl.h"
-#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
-
-using ::ppapi::thunk::PPB_CursorControl_FunctionAPI;
-
-namespace webkit {
-namespace ppapi {
-
-PPB_CursorControl_Impl::PPB_CursorControl_Impl(PluginInstance* instance)
- : instance_(instance) {
-}
-
-PPB_CursorControl_Impl::~PPB_CursorControl_Impl() {
-}
-
-PPB_CursorControl_FunctionAPI*
-PPB_CursorControl_Impl::AsPPB_CursorControl_FunctionAPI() {
- return this;
-}
-
-PP_Bool PPB_CursorControl_Impl::SetCursor(PP_Instance instance,
- PP_CursorType_Dev type,
- PP_Resource custom_image_id,
- const PP_Point* hot_spot) {
- return PP_FromBool(instance_->SetCursor(type, custom_image_id, hot_spot));
-}
-
-PP_Bool PPB_CursorControl_Impl::LockCursor(PP_Instance instance) {
- // TODO: implement cursor locking.
- return PP_FALSE;
-}
-
-PP_Bool PPB_CursorControl_Impl::UnlockCursor(PP_Instance instance) {
- // TODO: implement cursor locking.
- return PP_FALSE;
-}
-
-PP_Bool PPB_CursorControl_Impl::HasCursorLock(PP_Instance instance) {
- // TODO: implement cursor locking.
- return PP_FALSE;
-}
-
-PP_Bool PPB_CursorControl_Impl::CanLockCursor(PP_Instance instance) {
- // TODO: implement cursor locking.
- return PP_FALSE;
-}
-
-} // namespace ppapi
-} // namespace webkit
« no previous file with comments | « webkit/plugins/ppapi/ppb_cursor_control_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698