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

Side by Side Diff: webkit/plugins/ppapi/ppb_cursor_control_impl.cc

Issue 7006022: Revert 87415 - Convert more interfaces to the new thunk system. This goes up to and including (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
(...skipping 10 matching lines...) Expand all
21 namespace ppapi { 21 namespace ppapi {
22 22
23 PPB_CursorControl_Impl::PPB_CursorControl_Impl(PluginInstance* instance) 23 PPB_CursorControl_Impl::PPB_CursorControl_Impl(PluginInstance* instance)
24 : instance_(instance) { 24 : instance_(instance) {
25 } 25 }
26 26
27 PPB_CursorControl_Impl::~PPB_CursorControl_Impl() { 27 PPB_CursorControl_Impl::~PPB_CursorControl_Impl() {
28 } 28 }
29 29
30 PPB_CursorControl_FunctionAPI* 30 PPB_CursorControl_FunctionAPI*
31 PPB_CursorControl_Impl::AsPPB_CursorControl_FunctionAPI() { 31 PPB_CursorControl_Impl::AsCursorControl_FunctionAPI() {
32 return this; 32 return this;
33 } 33 }
34 34
35 PP_Bool PPB_CursorControl_Impl::SetCursor(PP_Instance instance, 35 PP_Bool PPB_CursorControl_Impl::SetCursor(PP_Instance instance,
36 PP_CursorType_Dev type, 36 PP_CursorType_Dev type,
37 PP_Resource custom_image_id, 37 PP_Resource custom_image_id,
38 const PP_Point* hot_spot) { 38 const PP_Point* hot_spot) {
39 return PP_FromBool(instance_->SetCursor(type, custom_image_id, hot_spot)); 39 return PP_FromBool(instance_->SetCursor(type, custom_image_id, hot_spot));
40 } 40 }
41 41
(...skipping 12 matching lines...) Expand all
54 return PP_FALSE; 54 return PP_FALSE;
55 } 55 }
56 56
57 PP_Bool PPB_CursorControl_Impl::CanLockCursor(PP_Instance instance) { 57 PP_Bool PPB_CursorControl_Impl::CanLockCursor(PP_Instance instance) {
58 // TODO: implement cursor locking. 58 // TODO: implement cursor locking.
59 return PP_FALSE; 59 return PP_FALSE;
60 } 60 }
61 61
62 } // namespace ppapi 62 } // namespace ppapi
63 } // namespace webkit 63 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/ppb_cursor_control_impl.h ('k') | webkit/plugins/ppapi/ppb_directory_reader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698