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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 7260008: Implement proper synchronization between HW video decode IPC and CommandBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 6 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 "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/shared_impl/ppapi_preferences.h" 9 #include "ppapi/shared_impl/ppapi_preferences.h"
10 10
(...skipping 28 matching lines...) Expand all
39 return NULL; 39 return NULL;
40 } 40 }
41 41
42 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() { 42 MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() {
43 return NULL; 43 return NULL;
44 } 44 }
45 45
46 MockPluginDelegate::PlatformVideoDecoder* 46 MockPluginDelegate::PlatformVideoDecoder*
47 MockPluginDelegate::CreateVideoDecoder( 47 MockPluginDelegate::CreateVideoDecoder(
48 media::VideoDecodeAccelerator::Client* client, 48 media::VideoDecodeAccelerator::Client* client,
49 int command_buffer_route_id) { 49 int32 command_buffer_route_id,
50 gpu::CommandBufferHelper* cmd_buffer_helper) {
50 return NULL; 51 return NULL;
51 } 52 }
52 53
53 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio( 54 MockPluginDelegate::PlatformAudio* MockPluginDelegate::CreateAudio(
54 uint32_t sample_rate, 55 uint32_t sample_rate,
55 uint32_t sample_count, 56 uint32_t sample_count,
56 PlatformAudio::Client* client) { 57 PlatformAudio::Client* client) {
57 return NULL; 58 return NULL;
58 } 59 }
59 60
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 uint32_t size) { 253 uint32_t size) {
253 return NULL; 254 return NULL;
254 } 255 }
255 256
256 ::ppapi::Preferences MockPluginDelegate::GetPreferences() { 257 ::ppapi::Preferences MockPluginDelegate::GetPreferences() {
257 return ::ppapi::Preferences(); 258 return ::ppapi::Preferences();
258 } 259 }
259 260
260 } // namespace ppapi 261 } // namespace ppapi
261 } // namespace webkit 262 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698