| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "webkit/plugins/ppapi/ppb_cursor_control_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_cursor_control_impl.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "ppapi/c/dev/pp_cursor_type_dev.h" | 9 #include "ppapi/c/dev/pp_cursor_type_dev.h" |
| 10 #include "ppapi/c/dev/ppb_cursor_control_dev.h" | 10 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
| 11 #include "ppapi/c/pp_point.h" | 11 #include "ppapi/c/pp_point.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "webkit/plugins/ppapi/common.h" | 13 #include "webkit/plugins/ppapi/common.h" |
| 14 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" | 14 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
| 15 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 15 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
| 16 #include "webkit/plugins/ppapi/resource.h" | |
| 17 | 16 |
| 18 using ::ppapi::thunk::PPB_CursorControl_FunctionAPI; | 17 using ::ppapi::thunk::PPB_CursorControl_FunctionAPI; |
| 19 | 18 |
| 20 namespace webkit { | 19 namespace webkit { |
| 21 namespace ppapi { | 20 namespace ppapi { |
| 22 | 21 |
| 23 PPB_CursorControl_Impl::PPB_CursorControl_Impl(PluginInstance* instance) | 22 PPB_CursorControl_Impl::PPB_CursorControl_Impl(PluginInstance* instance) |
| 24 : instance_(instance) { | 23 : instance_(instance) { |
| 25 } | 24 } |
| 26 | 25 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 54 return PP_FALSE; | 53 return PP_FALSE; |
| 55 } | 54 } |
| 56 | 55 |
| 57 PP_Bool PPB_CursorControl_Impl::CanLockCursor(PP_Instance instance) { | 56 PP_Bool PPB_CursorControl_Impl::CanLockCursor(PP_Instance instance) { |
| 58 // TODO: implement cursor locking. | 57 // TODO: implement cursor locking. |
| 59 return PP_FALSE; | 58 return PP_FALSE; |
| 60 } | 59 } |
| 61 | 60 |
| 62 } // namespace ppapi | 61 } // namespace ppapi |
| 63 } // namespace webkit | 62 } // namespace webkit |
| OLD | NEW |