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

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.cc

Issue 6901036: Update VideoDecode PPAPI structs to be consistent with media structures, part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make try bots happy Created 9 years, 7 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 "content/renderer/pepper_plugin_delegate_impl.h" 5 #include "content/renderer/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 return NULL; 807 return NULL;
808 808
809 return new PlatformContext3DImpl(parent_context); 809 return new PlatformContext3DImpl(parent_context);
810 #else 810 #else
811 return NULL; 811 return NULL;
812 #endif 812 #endif
813 } 813 }
814 814
815 webkit::ppapi::PluginDelegate::PlatformVideoDecoder* 815 webkit::ppapi::PluginDelegate::PlatformVideoDecoder*
816 PepperPluginDelegateImpl::CreateVideoDecoder( 816 PepperPluginDelegateImpl::CreateVideoDecoder(
817 PP_VideoDecoderConfig_Dev* decoder_config) { 817 PP_VideoConfigElement* decoder_config,
818 media::VideoDecodeAccelerator::Client* client) {
818 // TODO(vmr): Implement. 819 // TODO(vmr): Implement.
819 NOTIMPLEMENTED(); 820 NOTIMPLEMENTED();
820 return NULL; 821 return NULL;
821 } 822 }
822 823
823 void PepperPluginDelegateImpl::NumberOfFindResultsChanged(int identifier, 824 void PepperPluginDelegateImpl::NumberOfFindResultsChanged(int identifier,
824 int total, 825 int total,
825 bool final_result) { 826 bool final_result) {
826 render_view_->reportFindInPageMatchCount(identifier, total, final_result); 827 render_view_->reportFindInPageMatchCount(identifier, total, final_result);
827 } 828 }
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
1290 double result = 0.0; 1291 double result = 0.0;
1291 render_view_->Send(new PepperMsg_GetLocalTimeZoneOffset( 1292 render_view_->Send(new PepperMsg_GetLocalTimeZoneOffset(
1292 t, &result)); 1293 t, &result));
1293 return result; 1294 return result;
1294 } 1295 }
1295 1296
1296 std::string PepperPluginDelegateImpl::GetFlashCommandLineArgs() { 1297 std::string PepperPluginDelegateImpl::GetFlashCommandLineArgs() {
1297 return CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 1298 return CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
1298 switches::kPpapiFlashArgs); 1299 switches::kPpapiFlashArgs);
1299 } 1300 }
OLDNEW
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.h ('k') | content/renderer/video_decode_accelerator_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698