| 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 "ppapi/proxy/resource_creation_proxy.h" | 5 #include "ppapi/proxy/resource_creation_proxy.h" |
| 6 | 6 |
| 7 #include "ppapi/c/pp_errors.h" | 7 #include "ppapi/c/pp_errors.h" |
| 8 #include "ppapi/c/pp_size.h" | 8 #include "ppapi/c/pp_size.h" |
| 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" | 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" |
| 10 #include "ppapi/proxy/plugin_dispatcher.h" | 10 #include "ppapi/proxy/plugin_dispatcher.h" |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 instance, context3d_id, profile); | 321 instance, context3d_id, profile); |
| 322 } | 322 } |
| 323 | 323 |
| 324 PP_Resource ResourceCreationProxy::CreateVideoLayer( | 324 PP_Resource ResourceCreationProxy::CreateVideoLayer( |
| 325 PP_Instance instance, | 325 PP_Instance instance, |
| 326 PP_VideoLayerMode_Dev mode) { | 326 PP_VideoLayerMode_Dev mode) { |
| 327 NOTIMPLEMENTED(); | 327 NOTIMPLEMENTED(); |
| 328 return 0; | 328 return 0; |
| 329 } | 329 } |
| 330 | 330 |
| 331 PP_Resource ResourceCreationProxy::CreateWebSocket(PP_Instance instance) { |
| 332 NOTIMPLEMENTED(); |
| 333 return 0; |
| 334 } |
| 335 |
| 331 PP_Resource ResourceCreationProxy::CreateWheelInputEvent( | 336 PP_Resource ResourceCreationProxy::CreateWheelInputEvent( |
| 332 PP_Instance instance, | 337 PP_Instance instance, |
| 333 PP_TimeTicks time_stamp, | 338 PP_TimeTicks time_stamp, |
| 334 uint32_t modifiers, | 339 uint32_t modifiers, |
| 335 const PP_FloatPoint* wheel_delta, | 340 const PP_FloatPoint* wheel_delta, |
| 336 const PP_FloatPoint* wheel_ticks, | 341 const PP_FloatPoint* wheel_ticks, |
| 337 PP_Bool scroll_by_page) { | 342 PP_Bool scroll_by_page) { |
| 338 ppapi::InputEventData data; | 343 ppapi::InputEventData data; |
| 339 data.event_type = PP_INPUTEVENT_TYPE_WHEEL; | 344 data.event_type = PP_INPUTEVENT_TYPE_WHEEL; |
| 340 data.event_time_stamp = time_stamp; | 345 data.event_time_stamp = time_stamp; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 *result_image_handle = dispatcher()->ShareHandleWithRemote(ih, false); | 421 *result_image_handle = dispatcher()->ShareHandleWithRemote(ih, false); |
| 417 #else | 422 #else |
| 418 *result_image_handle = ImageData::HandleFromInt(handle); | 423 *result_image_handle = ImageData::HandleFromInt(handle); |
| 419 #endif | 424 #endif |
| 420 } | 425 } |
| 421 } | 426 } |
| 422 } | 427 } |
| 423 | 428 |
| 424 } // namespace proxy | 429 } // namespace proxy |
| 425 } // namespace ppapi | 430 } // namespace ppapi |
| OLD | NEW |