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

Side by Side Diff: ppapi/thunk/ppb_instance_api.h

Issue 11421066: Refactor PPB_Flash_Fullscreen to the new resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/thunk/ppb_flash_fullscreen_thunk.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef PPAPI_THUNK_INSTANCE_API_H_ 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_
6 #define PPAPI_THUNK_INSTANCE_API_H_ 6 #define PPAPI_THUNK_INSTANCE_API_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/c/dev/ppb_console_dev.h" 10 #include "ppapi/c/dev/ppb_console_dev.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 class PPB_Flash_API; 43 class PPB_Flash_API;
44 44
45 class PPB_Instance_API { 45 class PPB_Instance_API {
46 public: 46 public:
47 virtual ~PPB_Instance_API() {} 47 virtual ~PPB_Instance_API() {}
48 48
49 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0; 49 virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0;
50 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0; 50 virtual PP_Bool IsFullFrame(PP_Instance instance) = 0;
51 51
52 // Not an exposed PPAPI function, this returns the internal view data struct. 52 // Unexposed PPAPI functions for proxying.
53 // Returns the internal view data struct.
53 virtual const ViewData* GetViewData(PP_Instance instance) = 0; 54 virtual const ViewData* GetViewData(PP_Instance instance) = 0;
55 // Returns the flash fullscreen status.
56 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0;
54 57
55 // InstancePrivate. 58 // InstancePrivate.
56 virtual PP_Var GetWindowObject(PP_Instance instance) = 0; 59 virtual PP_Var GetWindowObject(PP_Instance instance) = 0;
57 virtual PP_Var GetOwnerElementObject(PP_Instance instance) = 0; 60 virtual PP_Var GetOwnerElementObject(PP_Instance instance) = 0;
58 virtual PP_Var ExecuteScript(PP_Instance instance, 61 virtual PP_Var ExecuteScript(PP_Instance instance,
59 PP_Var script, 62 PP_Var script,
60 PP_Var* exception) = 0; 63 PP_Var* exception) = 0;
61 64
62 // Audio. 65 // Audio.
63 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) = 0; 66 virtual uint32_t GetAudioHardwareOutputSampleRate(PP_Instance instance) = 0;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 PP_URLComponents_Dev* components) = 0; 199 PP_URLComponents_Dev* components) = 0;
197 #endif // !defined(OS_NACL) 200 #endif // !defined(OS_NACL)
198 201
199 static const ApiID kApiID = API_ID_PPB_INSTANCE; 202 static const ApiID kApiID = API_ID_PPB_INSTANCE;
200 }; 203 };
201 204
202 } // namespace thunk 205 } // namespace thunk
203 } // namespace ppapi 206 } // namespace ppapi
204 207
205 #endif // PPAPI_THUNK_INSTANCE_API_H_ 208 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_flash_fullscreen_thunk.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698