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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.cc

Issue 7826017: Add PPB_Fullscreen;0.5. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/api/dev/ppb_fullscreen_dev.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
===================================================================
--- content/renderer/pepper_plugin_delegate_impl.cc (revision 102885)
+++ content/renderer/pepper_plugin_delegate_impl.cc (working copy)
@@ -1410,7 +1410,8 @@
params.custom_items = menu->menu_data();
// Transform the position to be in render view's coordinates.
- if (instance->FlashIsFullscreen(instance->pp_instance())) {
+ if (instance->IsFullscreen(instance->pp_instance()) ||
+ instance->FlashIsFullscreen(instance->pp_instance())) {
WebKit::WebRect rect = render_view_->windowRect();
params.x -= rect.x;
params.y -= rect.y;
« no previous file with comments | « chrome/test/ui/ppapi_uitest.cc ('k') | ppapi/api/dev/ppb_fullscreen_dev.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698