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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.cc

Issue 8275031: PPAPI Fullscreen: remove redundant code inherited from FlashFullscreen. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « ppapi/c/dev/ppb_fullscreen_dev.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
===================================================================
--- webkit/plugins/ppapi/ppapi_plugin_instance.cc (revision 105485)
+++ webkit/plugins/ppapi/ppapi_plugin_instance.cc (working copy)
@@ -1194,9 +1194,6 @@
if (fullscreen && !frame->isProcessingUserGesture())
return false;
- // Unbind current 2D or 3D graphics context.
- BindGraphics(pp_instance(), 0);
-
VLOG(1) << "Setting fullscreen to " << (fullscreen ? "on" : "off");
desired_fullscreen_state_ = fullscreen;
@@ -1209,12 +1206,6 @@
} else {
container_->element().document().cancelFullScreen();
}
- if (!delay_report) {
- ReportGeometry();
- } else {
- MessageLoop::current()->PostTask(
- FROM_HERE, base::Bind(&PluginInstance::ReportGeometry, this));
- }
return true;
}
« no previous file with comments | « ppapi/c/dev/ppb_fullscreen_dev.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698