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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 10918182: Don't require a recreation of the context when fullscreening (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix style Created 8 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
index 79b7d9253752aba5bd5e20ba869a10c3ba2594dc..4cca3ea3874b9d872179d0d007f52477533a89e9 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
@@ -754,6 +754,11 @@ webkit::ppapi::PluginDelegate::PlatformContext3D*
#endif
}
+void PepperPluginDelegateImpl::ReparentContext(
+ webkit::ppapi::PluginDelegate::PlatformContext3D* context) {
+ static_cast<PlatformContext3DImpl*>(context)->SetParentContext(this);
+}
+
webkit::ppapi::PluginDelegate::PlatformVideoCapture*
PepperPluginDelegateImpl::CreateVideoCapture(
const std::string& device_id,

Powered by Google App Engine
This is Rietveld 408576698