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

Unified Diff: ppapi/api/ppb_fullscreen.idl

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
Index: ppapi/api/ppb_fullscreen.idl
===================================================================
--- ppapi/api/ppb_fullscreen.idl (revision 98942)
+++ ppapi/api/ppb_fullscreen.idl (working copy)
@@ -9,10 +9,10 @@
*/
label Chrome {
- M14 = 0.4
+ M15 = 0.1
};
-interface PPB_Fullscreen_Dev {
+interface PPB_Fullscreen {
/**
* Checks whether the plugin instance is currently in fullscreen mode.
*/
@@ -23,23 +23,19 @@
* Switches the plugin instance to/from fullscreen mode. Returns PP_TRUE on
* success, PP_FALSE on failure.
*
- * This unbinds the current Graphics2D or Surface3D. Pending flushes and
- * swapbuffers will execute as if the resource was off-screen. The transition
- * is asynchronous. During the transition, IsFullscreen will return PP_False,
- * and no Graphics2D or Surface3D can be bound. The transition ends at the
- * next DidChangeView.
- *
- * Note: when switching to and from fullscreen, Context3D and Surface3D
- * resources need to be re-created. This is a current limitation that will be
- * lifted in a later revision.
+ * This unbinds the current 2D or 3D devices. Pending flushes and swapbuffers
+ * will execute as if the resource was off-screen. The transition to and from
+ * fullscreen is asynchronous. During the transition, IsFullscreen will
+ * return PP_FALSE, and no 2D or 3D device can be bound. The transition ends
+ * at the next DidChangeView.
*/
PP_Bool SetFullscreen(
[in] PP_Instance instance,
[in] PP_Bool fullscreen);
/**
- * Gets the size of the screen. When going fullscreen, the instance will be
- * resized to that size.
+ * Gets the logical size (aka resolution) of the screen in pixels.
+ * When going fullscreen, the instance will be resized to that size.
*/
PP_Bool GetScreenSize(
[in] PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698