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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 8571002: WebSocket Pepper API: in process API base implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unreleased WebKit feature depends Created 9 years, 1 month 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 "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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698