OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/glue/plugins/pepper_cursor_control.h" | 5 #include "webkit/glue/plugins/pepper_cursor_control.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
9 #include "third_party/ppapi/c/dev/pp_cursor_type_dev.h" | 9 #include "ppapi/c/dev/pp_cursor_type_dev.h" |
10 #include "third_party/ppapi/c/dev/ppb_cursor_control_dev.h" | 10 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
11 #include "third_party/ppapi/c/pp_point.h" | 11 #include "ppapi/c/pp_point.h" |
12 #include "third_party/ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
13 #include "webkit/glue/plugins/pepper_image_data.h" | 13 #include "webkit/glue/plugins/pepper_image_data.h" |
14 #include "webkit/glue/plugins/pepper_plugin_instance.h" | 14 #include "webkit/glue/plugins/pepper_plugin_instance.h" |
15 #include "webkit/glue/plugins/pepper_resource.h" | 15 #include "webkit/glue/plugins/pepper_resource.h" |
16 | 16 |
17 namespace pepper { | 17 namespace pepper { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 bool SetCursor(PP_Instance instance_id, | 21 bool SetCursor(PP_Instance instance_id, |
22 PP_CursorType_Dev type, | 22 PP_CursorType_Dev type, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 }; | 82 }; |
83 | 83 |
84 } // namespace | 84 } // namespace |
85 | 85 |
86 const PPB_CursorControl_Dev* GetCursorControlInterface() { | 86 const PPB_CursorControl_Dev* GetCursorControlInterface() { |
87 return &cursor_control_interface; | 87 return &cursor_control_interface; |
88 } | 88 } |
89 | 89 |
90 } // namespace pepper | 90 } // namespace pepper |
91 | 91 |
OLD | NEW |