| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ppapi/thunk/resource_creation_api.h" | 10 #include "ppapi/thunk/resource_creation_api.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 PP_Bool init_to_zero) OVERRIDE; | 65 PP_Bool init_to_zero) OVERRIDE; |
| 66 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 66 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
| 67 PP_InputEvent_Type type, | 67 PP_InputEvent_Type type, |
| 68 PP_TimeTicks time_stamp, | 68 PP_TimeTicks time_stamp, |
| 69 struct PP_Var text, | 69 struct PP_Var text, |
| 70 uint32_t segment_number, | 70 uint32_t segment_number, |
| 71 const uint32_t* segment_offsets, | 71 const uint32_t* segment_offsets, |
| 72 int32_t target_segment, | 72 int32_t target_segment, |
| 73 uint32_t selection_start, | 73 uint32_t selection_start, |
| 74 uint32_t selection_end) OVERRIDE; | 74 uint32_t selection_end) OVERRIDE; |
| 75 virtual PP_Resource CreateKeyboardInputEvent_1_0( | 75 virtual PP_Resource CreateKeyboardInputEvent_1_0(PP_Instance instance, |
| 76 PP_Instance instance, | 76 PP_InputEvent_Type type, |
| 77 PP_InputEvent_Type type, | 77 PP_TimeTicks time_stamp, |
| 78 PP_TimeTicks time_stamp, | 78 uint32_t modifiers, |
| 79 uint32_t modifiers, | 79 uint32_t key_code, |
| 80 uint32_t key_code, | 80 PP_Var character_text) |
| 81 PP_Var character_text) OVERRIDE; | 81 OVERRIDE; |
| 82 virtual PP_Resource CreateKeyboardInputEvent_1_2( | 82 virtual PP_Resource CreateKeyboardInputEvent_1_2(PP_Instance instance, |
| 83 PP_Instance instance, | 83 PP_InputEvent_Type type, |
| 84 PP_InputEvent_Type type, | 84 PP_TimeTicks time_stamp, |
| 85 PP_TimeTicks time_stamp, | 85 uint32_t modifiers, |
| 86 uint32_t modifiers, | 86 uint32_t key_code, |
| 87 uint32_t key_code, | 87 PP_Var character_text, |
| 88 PP_Var character_text, | 88 PP_Var code) OVERRIDE; |
| 89 PP_Var code) OVERRIDE; | |
| 90 virtual PP_Resource CreateMouseInputEvent( | 89 virtual PP_Resource CreateMouseInputEvent( |
| 91 PP_Instance instance, | 90 PP_Instance instance, |
| 92 PP_InputEvent_Type type, | 91 PP_InputEvent_Type type, |
| 93 PP_TimeTicks time_stamp, | 92 PP_TimeTicks time_stamp, |
| 94 uint32_t modifiers, | 93 uint32_t modifiers, |
| 95 PP_InputEvent_MouseButton mouse_button, | 94 PP_InputEvent_MouseButton mouse_button, |
| 96 const PP_Point* mouse_position, | 95 const PP_Point* mouse_position, |
| 97 int32_t click_count, | 96 int32_t click_count, |
| 98 const PP_Point* mouse_movement) OVERRIDE; | 97 const PP_Point* mouse_movement) OVERRIDE; |
| 99 virtual PP_Resource CreateNetAddressFromIPv4Address( | 98 virtual PP_Resource CreateNetAddressFromIPv4Address( |
| 100 PP_Instance instance, | 99 PP_Instance instance, |
| 101 const PP_NetAddress_IPv4* ipv4_addr) OVERRIDE; | 100 const PP_NetAddress_IPv4* ipv4_addr) OVERRIDE; |
| 102 virtual PP_Resource CreateNetAddressFromIPv6Address( | 101 virtual PP_Resource CreateNetAddressFromIPv6Address( |
| 103 PP_Instance instance, | 102 PP_Instance instance, |
| 104 const PP_NetAddress_IPv6* ipv6_addr) OVERRIDE; | 103 const PP_NetAddress_IPv6* ipv6_addr) OVERRIDE; |
| 105 virtual PP_Resource CreateNetAddressFromNetAddressPrivate( | 104 virtual PP_Resource CreateNetAddressFromNetAddressPrivate( |
| 106 PP_Instance instance, | 105 PP_Instance instance, |
| 107 const PP_NetAddress_Private& private_addr) OVERRIDE; | 106 const PP_NetAddress_Private& private_addr) OVERRIDE; |
| 108 virtual PP_Resource CreateTouchInputEvent( | 107 virtual PP_Resource CreateTouchInputEvent(PP_Instance instance, |
| 109 PP_Instance instance, | 108 PP_InputEvent_Type type, |
| 110 PP_InputEvent_Type type, | 109 PP_TimeTicks time_stamp, |
| 111 PP_TimeTicks time_stamp, | 110 uint32_t modifiers) OVERRIDE; |
| 112 uint32_t modifiers) OVERRIDE; | |
| 113 virtual PP_Resource CreateNetworkMonitor(PP_Instance instance) OVERRIDE; | 111 virtual PP_Resource CreateNetworkMonitor(PP_Instance instance) OVERRIDE; |
| 114 virtual PP_Resource CreatePlatformVerificationPrivate( | 112 virtual PP_Resource CreatePlatformVerificationPrivate(PP_Instance instance) |
| 115 PP_Instance instance) OVERRIDE; | 113 OVERRIDE; |
| 116 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 114 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 117 PP_Bool vertical) OVERRIDE; | 115 PP_Bool vertical) OVERRIDE; |
| 118 virtual PP_Resource CreateOutputProtectionPrivate( | 116 virtual PP_Resource CreateOutputProtectionPrivate(PP_Instance instance) |
| 119 PP_Instance instance) OVERRIDE; | 117 OVERRIDE; |
| 120 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 118 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
| 121 virtual PP_Resource CreateTCPServerSocketPrivate( | 119 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) |
| 122 PP_Instance instance) OVERRIDE; | 120 OVERRIDE; |
| 123 virtual PP_Resource CreateTCPSocket1_0(PP_Instance instance) OVERRIDE; | 121 virtual PP_Resource CreateTCPSocket1_0(PP_Instance instance) OVERRIDE; |
| 124 virtual PP_Resource CreateTCPSocket(PP_Instance instance) OVERRIDE; | 122 virtual PP_Resource CreateTCPSocket(PP_Instance instance) OVERRIDE; |
| 125 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 123 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
| 126 virtual PP_Resource CreateUDPSocket(PP_Instance instance) OVERRIDE; | 124 virtual PP_Resource CreateUDPSocket(PP_Instance instance) OVERRIDE; |
| 127 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 125 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
| 128 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 126 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
| 129 virtual PP_Resource CreateVideoDecoder( | 127 virtual PP_Resource CreateVideoDecoder(PP_Instance instance, |
| 130 PP_Instance instance, | 128 PP_Resource graphics3d_id, |
| 131 PP_Resource graphics3d_id, | 129 PP_VideoDecoder_Profile profile) |
| 132 PP_VideoDecoder_Profile profile) OVERRIDE; | 130 OVERRIDE; |
| 133 virtual PP_Resource CreateVideoDestination( | 131 virtual PP_Resource CreateVideoDestination(PP_Instance instance) OVERRIDE; |
| 134 PP_Instance instance) OVERRIDE; | 132 virtual PP_Resource CreateVideoSource(PP_Instance instance) OVERRIDE; |
| 135 virtual PP_Resource CreateVideoSource( | 133 virtual PP_Resource CreateWheelInputEvent(PP_Instance instance, |
| 136 PP_Instance instance) OVERRIDE; | 134 PP_TimeTicks time_stamp, |
| 137 virtual PP_Resource CreateWheelInputEvent( | 135 uint32_t modifiers, |
| 138 PP_Instance instance, | 136 const PP_FloatPoint* wheel_delta, |
| 139 PP_TimeTicks time_stamp, | 137 const PP_FloatPoint* wheel_ticks, |
| 140 uint32_t modifiers, | 138 PP_Bool scroll_by_page) OVERRIDE; |
| 141 const PP_FloatPoint* wheel_delta, | 139 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) |
| 142 const PP_FloatPoint* wheel_ticks, | 140 OVERRIDE; |
| 143 PP_Bool scroll_by_page) OVERRIDE; | |
| 144 virtual PP_Resource CreateX509CertificatePrivate( | |
| 145 PP_Instance instance) OVERRIDE; | |
| 146 | 141 |
| 147 private: | 142 private: |
| 148 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 143 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 149 }; | 144 }; |
| 150 | 145 |
| 151 } // namespace content | 146 } // namespace content |
| 152 | 147 |
| 153 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 148 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |