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

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: test name was wrong 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 instance, context3d_id, profile); 339 instance, context3d_id, profile);
340 } 340 }
341 341
342 PP_Resource ResourceCreationProxy::CreateVideoLayer( 342 PP_Resource ResourceCreationProxy::CreateVideoLayer(
343 PP_Instance instance, 343 PP_Instance instance,
344 PP_VideoLayerMode_Dev mode) { 344 PP_VideoLayerMode_Dev mode) {
345 NOTIMPLEMENTED(); 345 NOTIMPLEMENTED();
346 return 0; 346 return 0;
347 } 347 }
348 348
349 PP_Resource ResourceCreationProxy::CreateWebSocket(PP_Instance instance) {
350 NOTIMPLEMENTED();
351 return 0;
352 }
353
349 PP_Resource ResourceCreationProxy::CreateWheelInputEvent( 354 PP_Resource ResourceCreationProxy::CreateWheelInputEvent(
350 PP_Instance instance, 355 PP_Instance instance,
351 PP_TimeTicks time_stamp, 356 PP_TimeTicks time_stamp,
352 uint32_t modifiers, 357 uint32_t modifiers,
353 const PP_FloatPoint* wheel_delta, 358 const PP_FloatPoint* wheel_delta,
354 const PP_FloatPoint* wheel_ticks, 359 const PP_FloatPoint* wheel_ticks,
355 PP_Bool scroll_by_page) { 360 PP_Bool scroll_by_page) {
356 ppapi::InputEventData data; 361 ppapi::InputEventData data;
357 data.event_type = PP_INPUTEVENT_TYPE_WHEEL; 362 data.event_type = PP_INPUTEVENT_TYPE_WHEEL;
358 data.event_time_stamp = time_stamp; 363 data.event_time_stamp = time_stamp;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 *result_image_handle = dispatcher()->ShareHandleWithRemote(ih, false); 439 *result_image_handle = dispatcher()->ShareHandleWithRemote(ih, false);
435 #else 440 #else
436 *result_image_handle = ImageData::HandleFromInt(handle); 441 *result_image_handle = ImageData::HandleFromInt(handle);
437 #endif 442 #endif
438 } 443 }
439 } 444 }
440 } 445 }
441 446
442 } // namespace proxy 447 } // namespace proxy
443 } // namespace ppapi 448 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698