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

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

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Get rid of ScrollbarGroup's methods and the ResizeClient interface Created 9 years, 4 months 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/proxy/host_resource.h" 9 #include "ppapi/proxy/host_resource.h"
10 #include "ppapi/proxy/interface_id.h" 10 #include "ppapi/proxy/interface_id.h"
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 PP_Instance instance, 256 PP_Instance instance,
257 PP_Config3D_Dev config, 257 PP_Config3D_Dev config,
258 PP_Resource share_context, 258 PP_Resource share_context,
259 const int32_t* attrib_list) { 259 const int32_t* attrib_list) {
260 // Not proxied. The raw creation function is used only in the implementation 260 // Not proxied. The raw creation function is used only in the implementation
261 // of the proxy on the host side. 261 // of the proxy on the host side.
262 return 0; 262 return 0;
263 } 263 }
264 264
265 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance, 265 PP_Resource ResourceCreationProxy::CreateScrollbar(PP_Instance instance,
266 PP_Resource scrollbar_group,
266 PP_Bool vertical) { 267 PP_Bool vertical) {
267 NOTIMPLEMENTED(); // Not proxied yet. 268 NOTIMPLEMENTED(); // Not proxied yet.
268 return 0; 269 return 0;
269 } 270 }
270 271
272 PP_Resource ResourceCreationProxy::CreateScrollbarGroup(PP_Instance instance) {
273 NOTIMPLEMENTED(); // Not proxied yet.
274 return 0;
275 }
276
271 PP_Resource ResourceCreationProxy::CreateSurface3D( 277 PP_Resource ResourceCreationProxy::CreateSurface3D(
272 PP_Instance instance, 278 PP_Instance instance,
273 PP_Config3D_Dev config, 279 PP_Config3D_Dev config,
274 const int32_t* attrib_list) { 280 const int32_t* attrib_list) {
275 return PPB_Surface3D_Proxy::CreateProxyResource(instance, config, 281 return PPB_Surface3D_Proxy::CreateProxyResource(instance, config,
276 attrib_list); 282 attrib_list);
277 } 283 }
278 284
279 PP_Resource ResourceCreationProxy::CreateTransport(PP_Instance instance, 285 PP_Resource ResourceCreationProxy::CreateTransport(PP_Instance instance,
280 const char* name, 286 const char* name,
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false); 399 *result_image_handle = dispatcher_->ShareHandleWithRemote(ih, false);
394 #else 400 #else
395 *result_image_handle = ImageData::HandleFromInt(handle); 401 *result_image_handle = ImageData::HandleFromInt(handle);
396 #endif 402 #endif
397 } 403 }
398 } 404 }
399 } 405 }
400 406
401 } // namespace proxy 407 } // namespace proxy
402 } // namespace pp 408 } // namespace pp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698