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

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

Issue 9188045: Introduce PPB_Flash_MessageLoop interface for Pepper Flash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use base::Callback instead of PP_CompletionCallback in RunFromHostProxy(). Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/thunk/ppb_flash_message_loop_thunk.cc ('k') | ppapi/thunk/thunk.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_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 PP_Instance instance, 62 PP_Instance instance,
63 PP_FileChooserMode_Dev mode, 63 PP_FileChooserMode_Dev mode,
64 const char* accept_mime_types) = 0; 64 const char* accept_mime_types) = 0;
65 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; 65 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0;
66 virtual PP_Resource CreateFileRef(PP_Resource file_system, 66 virtual PP_Resource CreateFileRef(PP_Resource file_system,
67 const char* path) = 0; 67 const char* path) = 0;
68 virtual PP_Resource CreateFileSystem(PP_Instance instance, 68 virtual PP_Resource CreateFileSystem(PP_Instance instance,
69 PP_FileSystemType type) = 0; 69 PP_FileSystemType type) = 0;
70 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 70 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
71 const PP_Flash_Menu* menu_data) = 0; 71 const PP_Flash_Menu* menu_data) = 0;
72 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0;
72 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; 73 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0;
73 // Note: can't be called CreateFont due to Windows #defines. 74 // Note: can't be called CreateFont due to Windows #defines.
74 virtual PP_Resource CreateFontObject( 75 virtual PP_Resource CreateFontObject(
75 PP_Instance instance, 76 PP_Instance instance,
76 const PP_FontDescription_Dev* description) = 0; 77 const PP_FontDescription_Dev* description) = 0;
77 virtual PP_Resource CreateGraphics2D(PP_Instance instance, 78 virtual PP_Resource CreateGraphics2D(PP_Instance instance,
78 const PP_Size& size, 79 const PP_Size& size,
79 PP_Bool is_always_opaque) = 0; 80 PP_Bool is_always_opaque) = 0;
80 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 81 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
81 PP_Resource share_context, 82 PP_Resource share_context,
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const PP_FloatPoint* wheel_ticks, 134 const PP_FloatPoint* wheel_ticks,
134 PP_Bool scroll_by_page) = 0; 135 PP_Bool scroll_by_page) = 0;
135 136
136 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 137 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
137 }; 138 };
138 139
139 } // namespace thunk 140 } // namespace thunk
140 } // namespace ppapi 141 } // namespace ppapi
141 142
142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_flash_message_loop_thunk.cc ('k') | ppapi/thunk/thunk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698