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

Side by Side Diff: content/renderer/pepper/resource_creation_impl.cc

Issue 24039002: Pepper API implementation for output protection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: avoid PostTask methods in dtor Created 7 years, 3 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
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 "content/renderer/pepper/common.h" 7 #include "content/renderer/pepper/common.h"
8 #include "content/renderer/pepper/ppb_audio_impl.h" 8 #include "content/renderer/pepper/ppb_audio_impl.h"
9 #include "content/renderer/pepper/ppb_broker_impl.h" 9 #include "content/renderer/pepper/ppb_broker_impl.h"
10 #include "content/renderer/pepper/ppb_buffer_impl.h" 10 #include "content/renderer/pepper/ppb_buffer_impl.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 uint32_t modifiers) { 216 uint32_t modifiers) {
217 return PPB_InputEvent_Shared::CreateTouchInputEvent( 217 return PPB_InputEvent_Shared::CreateTouchInputEvent(
218 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers); 218 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers);
219 } 219 }
220 220
221 PP_Resource ResourceCreationImpl::CreateNetworkMonitorPrivate( 221 PP_Resource ResourceCreationImpl::CreateNetworkMonitorPrivate(
222 PP_Instance instance) { 222 PP_Instance instance) {
223 return 0; // Not supported in-process. 223 return 0; // Not supported in-process.
224 } 224 }
225 225
226 PP_Resource ResourceCreationImpl::CreateOutputProtectionPrivate(
227 PP_Instance instance) {
228 return 0; // Not supported in-process.
229 }
230
226 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance, 231 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
227 PP_Bool vertical) { 232 PP_Bool vertical) {
228 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical)); 233 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical));
229 } 234 }
230 235
231 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance /* instance */) { 236 PP_Resource ResourceCreationImpl::CreateTalk(PP_Instance /* instance */) {
232 return 0; // Not supported in-process. 237 return 0; // Not supported in-process.
233 } 238 }
234 239
235 PP_Resource ResourceCreationImpl::CreateResourceArray( 240 PP_Resource ResourceCreationImpl::CreateResourceArray(
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, 299 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers,
295 wheel_delta, wheel_ticks, scroll_by_page); 300 wheel_delta, wheel_ticks, scroll_by_page);
296 } 301 }
297 302
298 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 303 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
299 PP_Instance instance) { 304 PP_Instance instance) {
300 return PPB_X509Certificate_Private_Impl::CreateResource(instance); 305 return PPB_X509Certificate_Private_Impl::CreateResource(instance);
301 } 306 }
302 307
303 } // namespace content 308 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698