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

Side by Side Diff: ppapi/api/private/ppb_flash_fullscreen.idl

Issue 8676042: Remove Context3D/Surface3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/api/pp_graphics_3d.idl ('k') | ppapi/c/dev/ppb_context_3d_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 6
7 /** 7 /**
8 * This file defines the <code>PPB_FlashFullscreen</code> interface. 8 * This file defines the <code>PPB_FlashFullscreen</code> interface.
9 */ 9 */
10 10
11 label Chrome { 11 label Chrome {
12 M16 = 0.1 12 M16 = 0.1
13 }; 13 };
14 14
15 interface PPB_FlashFullscreen { 15 interface PPB_FlashFullscreen {
16 /** 16 /**
17 * Checks whether the plugin instance is currently in fullscreen mode. 17 * Checks whether the plugin instance is currently in fullscreen mode.
18 */ 18 */
19 PP_Bool IsFullscreen( 19 PP_Bool IsFullscreen(
20 [in] PP_Instance instance); 20 [in] PP_Instance instance);
21 21
22 /** 22 /**
23 * Switches the plugin instance to/from fullscreen mode. Returns PP_TRUE on 23 * Switches the plugin instance to/from fullscreen mode. Returns PP_TRUE on
24 * success, PP_FALSE on failure. 24 * success, PP_FALSE on failure.
25 * 25 *
26 * This unbinds the current Graphics2D or Surface3D. Pending flushes and 26 * This unbinds the current Graphics2D or Graphics3D. Pending flushes and
27 * swapbuffers will execute as if the resource was off-screen. The transition 27 * swapbuffers will execute as if the resource was off-screen. The transition
28 * is asynchronous. During the transition, IsFullscreen will return PP_FALSE, 28 * is asynchronous. During the transition, IsFullscreen will return PP_FALSE,
29 * and no Graphics2D or Surface3D can be bound. The transition ends at the 29 * and no Graphics2D or Graphics3D can be bound. The transition ends at the
30 * next DidChangeView when going into fullscreen mode. The transition out of 30 * next DidChangeView when going into fullscreen mode. The transition out of
31 * fullscreen mode is synchronous. 31 * fullscreen mode is synchronous.
32 * 32 *
33 * Note: when switching to and from fullscreen, Context3D and Surface3D 33 * Note: when switching to and from fullscreen, Graphics3D resources need to
34 * resources need to be re-created. This is a current limitation that will be 34 * be re-created. This is a current limitation that will be lifted in a later
35 * lifted in a later revision. 35 * revision.
36 */ 36 */
37 PP_Bool SetFullscreen( 37 PP_Bool SetFullscreen(
38 [in] PP_Instance instance, 38 [in] PP_Instance instance,
39 [in] PP_Bool fullscreen); 39 [in] PP_Bool fullscreen);
40 40
41 /** 41 /**
42 * Gets the size of the screen in pixels. When going fullscreen, the instance 42 * Gets the size of the screen in pixels. When going fullscreen, the instance
43 * will be resized to that size. 43 * will be resized to that size.
44 */ 44 */
45 PP_Bool GetScreenSize( 45 PP_Bool GetScreenSize(
46 [in] PP_Instance instance, 46 [in] PP_Instance instance,
47 [out] PP_Size size); 47 [out] PP_Size size);
48 }; 48 };
49 49
OLDNEW
« no previous file with comments | « ppapi/api/pp_graphics_3d.idl ('k') | ppapi/c/dev/ppb_context_3d_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698