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 #include "webkit/plugins/ppapi/resource_creation_impl.h" | 5 #include "webkit/plugins/ppapi/resource_creation_impl.h" |
6 | 6 |
7 #include "ppapi/c/pp_size.h" | 7 #include "ppapi/c/pp_size.h" |
8 #include "ppapi/shared_impl/ppb_audio_config_shared.h" | 8 #include "ppapi/shared_impl/ppb_audio_config_shared.h" |
9 #include "ppapi/shared_impl/ppb_input_event_shared.h" | 9 #include "ppapi/shared_impl/ppb_input_event_shared.h" |
10 #include "ppapi/shared_impl/ppb_resource_array_shared.h" | 10 #include "ppapi/shared_impl/ppb_resource_array_shared.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 uint32_t segment_number, | 147 uint32_t segment_number, |
148 const uint32_t* segment_offsets, | 148 const uint32_t* segment_offsets, |
149 int32_t target_segment, | 149 int32_t target_segment, |
150 uint32_t selection_start, | 150 uint32_t selection_start, |
151 uint32_t selection_end) { | 151 uint32_t selection_end) { |
152 return PPB_InputEvent_Shared::CreateIMEInputEvent( | 152 return PPB_InputEvent_Shared::CreateIMEInputEvent( |
153 ::ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, text, segment_number, | 153 ::ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, text, segment_number, |
154 segment_offsets, target_segment, selection_start, selection_end); | 154 segment_offsets, target_segment, selection_start, selection_end); |
155 } | 155 } |
156 | 156 |
| 157 PP_Resource ResourceCreationImpl::CreateIsolatedFileSystem(PP_Instance instance, |
| 158 const char* fsid) { |
| 159 NOTIMPLEMENTED(); // no need to support in-process |
| 160 return 0; |
| 161 } |
| 162 |
157 PP_Resource ResourceCreationImpl::CreateKeyboardInputEvent( | 163 PP_Resource ResourceCreationImpl::CreateKeyboardInputEvent( |
158 PP_Instance instance, | 164 PP_Instance instance, |
159 PP_InputEvent_Type type, | 165 PP_InputEvent_Type type, |
160 PP_TimeTicks time_stamp, | 166 PP_TimeTicks time_stamp, |
161 uint32_t modifiers, | 167 uint32_t modifiers, |
162 uint32_t key_code, | 168 uint32_t key_code, |
163 struct PP_Var character_text) { | 169 struct PP_Var character_text) { |
164 return PPB_InputEvent_Shared::CreateKeyboardInputEvent( | 170 return PPB_InputEvent_Shared::CreateKeyboardInputEvent( |
165 ::ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers, key_code, | 171 ::ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers, key_code, |
166 character_text); | 172 character_text); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 wheel_delta, wheel_ticks, scroll_by_page); | 270 wheel_delta, wheel_ticks, scroll_by_page); |
265 } | 271 } |
266 | 272 |
267 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( | 273 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( |
268 PP_Instance instance) { | 274 PP_Instance instance) { |
269 return PPB_X509Certificate_Private_Impl::CreateResource(instance); | 275 return PPB_X509Certificate_Private_Impl::CreateResource(instance); |
270 } | 276 } |
271 | 277 |
272 } // namespace ppapi | 278 } // namespace ppapi |
273 } // namespace webkit | 279 } // namespace webkit |
OLD | NEW |