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

Unified Diff: content/renderer/render_widget_fullscreen_pepper.cc

Issue 16290005: Move Pepper to using mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | webkit/plugins/ppapi/fullscreen_container.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget_fullscreen_pepper.cc
diff --git a/content/renderer/render_widget_fullscreen_pepper.cc b/content/renderer/render_widget_fullscreen_pepper.cc
index 58e9e8c47750fdf3135db9204268e6e3741514a5..10b700649adce06d6c592fa2faf8b5f29fa0a65a 100644
--- a/content/renderer/render_widget_fullscreen_pepper.cc
+++ b/content/renderer/render_widget_fullscreen_pepper.cc
@@ -406,26 +406,6 @@ void RenderWidgetFullscreenPepper::DidChangeCursor(
didChangeCursor(cursor);
}
-webkit::ppapi::PluginDelegate::PlatformContext3D*
-RenderWidgetFullscreenPepper::CreateContext3D() {
- CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kDisableFlashFullscreen3d))
- return NULL;
- return new PlatformContext3DImpl;
-}
-
-void RenderWidgetFullscreenPepper::ReparentContext(
- webkit::ppapi::PluginDelegate::PlatformContext3D* context) {
- PlatformContext3DImpl* context_impl =
- static_cast<PlatformContext3DImpl*>(context);
-
- CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (command_line->HasSwitch(switches::kDisableFlashFullscreen3d))
- context_impl->DestroyParentContextProviderAndBackingTexture();
- else
- context_impl->SetParentAndCreateBackingTextureIfNeeded();
-}
-
void RenderWidgetFullscreenPepper::SetLayer(WebKit::WebLayer* layer) {
layer_ = layer;
bool compositing = !!layer_;
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | webkit/plugins/ppapi/fullscreen_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698