| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |