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: content/renderer/pepper/resource_creation_impl.cc

Issue 1837833004: Remove in-process PPB_Graphics3D (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile errors Created 4 years, 8 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
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "content/renderer/pepper/resource_creation_impl.h" 5 #include "content/renderer/pepper/resource_creation_impl.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/common/content_switches_internal.h" 8 #include "content/common/content_switches_internal.h"
9 #include "content/renderer/pepper/ppb_audio_impl.h" 9 #include "content/renderer/pepper/ppb_audio_impl.h"
10 #include "content/renderer/pepper/ppb_broker_impl.h" 10 #include "content/renderer/pepper/ppb_broker_impl.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 return 0; // Not supported in-process. 108 return 0; // Not supported in-process.
109 } 109 }
110 110
111 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) { 111 PP_Resource ResourceCreationImpl::CreateFlashMessageLoop(PP_Instance instance) {
112 return PPB_Flash_MessageLoop_Impl::Create(instance); 112 return PPB_Flash_MessageLoop_Impl::Create(instance);
113 } 113 }
114 114
115 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance, 115 PP_Resource ResourceCreationImpl::CreateGraphics3D(PP_Instance instance,
116 PP_Resource share_context, 116 PP_Resource share_context,
117 const int32_t* attrib_list) { 117 const int32_t* attrib_list) {
118 return PPB_Graphics3D_Impl::Create(instance, share_context, attrib_list); 118 return 0; // Not supported in-process.
119 } 119 }
120 120
121 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( 121 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
122 PP_Instance instance, 122 PP_Instance instance,
123 PP_Resource share_context, 123 PP_Resource share_context,
124 const int32_t* attrib_list, 124 const int32_t* attrib_list,
125 gpu::Capabilities* capabilities, 125 gpu::Capabilities* capabilities,
126 base::SharedMemoryHandle* shared_state, 126 base::SharedMemoryHandle* shared_state,
127 gpu::CommandBufferId* command_buffer_id) { 127 gpu::CommandBufferId* command_buffer_id) {
128 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list, 128 return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list,
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 wheel_ticks, 363 wheel_ticks,
364 scroll_by_page); 364 scroll_by_page);
365 } 365 }
366 366
367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 367 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
368 PP_Instance instance) { 368 PP_Instance instance) {
369 return 0; // Not supported in-process. 369 return 0; // Not supported in-process.
370 } 370 }
371 371
372 } // namespace content 372 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_graphics_3d_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698