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

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: Fixing a few parameter types Created 9 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 | 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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 return NULL; 805 return NULL;
806 806
807 return new PlatformContext3DImpl(parent_context); 807 return new PlatformContext3DImpl(parent_context);
808 #else 808 #else
809 return NULL; 809 return NULL;
810 #endif 810 #endif
811 } 811 }
812 812
813 webkit::ppapi::PluginDelegate::PlatformVideoDecoder* 813 webkit::ppapi::PluginDelegate::PlatformVideoDecoder*
814 PepperPluginDelegateImpl::CreateVideoDecoder( 814 PepperPluginDelegateImpl::CreateVideoDecoder(
815 PP_VideoDecoderConfig_Dev* decoder_config) { 815 PP_VideoConfigElement* decoder_config,
816 media::VideoDecodeAccelerator::Client* client) {
816 // TODO(vmr): Implement. 817 // TODO(vmr): Implement.
817 NOTIMPLEMENTED(); 818 NOTIMPLEMENTED();
818 return NULL; 819 return NULL;
819 } 820 }
820 821
821 void PepperPluginDelegateImpl::NumberOfFindResultsChanged(int identifier, 822 void PepperPluginDelegateImpl::NumberOfFindResultsChanged(int identifier,
822 int total, 823 int total,
823 bool final_result) { 824 bool final_result) {
824 render_view_->reportFindInPageMatchCount(identifier, total, final_result); 825 render_view_->reportFindInPageMatchCount(identifier, total, final_result);
825 } 826 }
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 return NULL; 1284 return NULL;
1284 #endif 1285 #endif
1285 } 1286 }
1286 1287
1287 double PepperPluginDelegateImpl::GetLocalTimeZoneOffset(base::Time t) { 1288 double PepperPluginDelegateImpl::GetLocalTimeZoneOffset(base::Time t) {
1288 double result = 0.0; 1289 double result = 0.0;
1289 render_view_->Send(new PepperMsg_GetLocalTimeZoneOffset( 1290 render_view_->Send(new PepperMsg_GetLocalTimeZoneOffset(
1290 t, &result)); 1291 t, &result));
1291 return result; 1292 return result;
1292 } 1293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698