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

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: revise output configurator related code. rebased. 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 uint32_t modifiers) { 210 uint32_t modifiers) {
211 return PPB_InputEvent_Shared::CreateTouchInputEvent( 211 return PPB_InputEvent_Shared::CreateTouchInputEvent(
212 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers); 212 ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, modifiers);
213 } 213 }
214 214
215 PP_Resource ResourceCreationImpl::CreateNetworkMonitorPrivate( 215 PP_Resource ResourceCreationImpl::CreateNetworkMonitorPrivate(
216 PP_Instance instance) { 216 PP_Instance instance) {
217 return 0; // Not supported in-process. 217 return 0; // Not supported in-process.
218 } 218 }
219 219
220 PP_Resource ResourceCreationImpl::CreateOutputProtectionPrivate(
221 PP_Instance instance) {
222 return 0; // Not supported in-process.
223 }
224
220 PP_Resource ResourceCreationImpl::CreatePlatformVerificationPrivate( 225 PP_Resource ResourceCreationImpl::CreatePlatformVerificationPrivate(
221 PP_Instance instance) { 226 PP_Instance instance) {
222 return 0; // Not supported in-process. 227 return 0; // Not supported in-process.
223 } 228 }
224 229
225 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance, 230 PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
226 PP_Bool vertical) { 231 PP_Bool vertical) {
227 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical)); 232 return PPB_Scrollbar_Impl::Create(instance, PP_ToBool(vertical));
228 } 233 }
229 234
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers, 298 ppapi::OBJECT_IS_IMPL, instance, time_stamp, modifiers,
294 wheel_delta, wheel_ticks, scroll_by_page); 299 wheel_delta, wheel_ticks, scroll_by_page);
295 } 300 }
296 301
297 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( 302 PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate(
298 PP_Instance instance) { 303 PP_Instance instance) {
299 return 0; // Not supported in-process. 304 return 0; // Not supported in-process.
300 } 305 }
301 306
302 } // namespace content 307 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698