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

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

Issue 12600019: Add Pepper TrueType font API plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_aura. Pango headers missing. Created 7 years, 9 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_truetype_font_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('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_file_chooser_dev.h" 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
9 #include "ppapi/c/pp_bool.h" 9 #include "ppapi/c/pp_bool.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/c/pp_resource.h" 11 #include "ppapi/c/pp_resource.h"
12 #include "ppapi/c/ppb_audio.h" 12 #include "ppapi/c/ppb_audio.h"
13 #include "ppapi/c/ppb_audio_config.h" 13 #include "ppapi/c/ppb_audio_config.h"
14 #include "ppapi/c/ppb_file_system.h" 14 #include "ppapi/c/ppb_file_system.h"
15 #include "ppapi/c/ppb_graphics_3d.h" 15 #include "ppapi/c/ppb_graphics_3d.h"
16 #include "ppapi/c/ppb_image_data.h" 16 #include "ppapi/c/ppb_image_data.h"
17 #include "ppapi/c/ppb_input_event.h" 17 #include "ppapi/c/ppb_input_event.h"
18 #include "ppapi/c/ppb_websocket.h" 18 #include "ppapi/c/ppb_websocket.h"
19 #include "ppapi/c/dev/pp_video_dev.h" 19 #include "ppapi/c/dev/pp_video_dev.h"
20 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
20 #include "ppapi/c/private/pp_private_font_charset.h" 21 #include "ppapi/c/private/pp_private_font_charset.h"
21 #include "ppapi/c/private/ppb_network_monitor_private.h" 22 #include "ppapi/c/private/ppb_network_monitor_private.h"
22 #include "ppapi/shared_impl/api_id.h" 23 #include "ppapi/shared_impl/api_id.h"
23 24
24 struct PP_Flash_Menu; 25 struct PP_Flash_Menu;
25 struct PP_FontDescription_Dev; 26 struct PP_FontDescription_Dev;
26 struct PP_BrowserFont_Trusted_Description; 27 struct PP_BrowserFont_Trusted_Description;
27 struct PP_Size; 28 struct PP_Size;
28 29
29 namespace ppapi { 30 namespace ppapi {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 int32_t click_count, 74 int32_t click_count,
74 const PP_Point* mouse_movement) = 0; 75 const PP_Point* mouse_movement) = 0;
75 virtual PP_Resource CreateTouchInputEvent( 76 virtual PP_Resource CreateTouchInputEvent(
76 PP_Instance instance, 77 PP_Instance instance,
77 PP_InputEvent_Type type, 78 PP_InputEvent_Type type,
78 PP_TimeTicks time_stamp, 79 PP_TimeTicks time_stamp,
79 uint32_t modifiers) = 0; 80 uint32_t modifiers) = 0;
80 virtual PP_Resource CreateResourceArray(PP_Instance instance, 81 virtual PP_Resource CreateResourceArray(PP_Instance instance,
81 const PP_Resource elements[], 82 const PP_Resource elements[],
82 uint32_t size) = 0; 83 uint32_t size) = 0;
84 virtual PP_Resource CreateTrueTypeFont(
85 PP_Instance instance,
86 const PP_TrueTypeFontDesc_Dev& desc) = 0;
83 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; 87 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0;
84 virtual PP_Resource CreateURLRequestInfo( 88 virtual PP_Resource CreateURLRequestInfo(
85 PP_Instance instance, 89 PP_Instance instance,
86 const URLRequestInfoData& data) = 0; 90 const URLRequestInfoData& data) = 0;
87 91
88 // Passes a reference to the file_ref_resource, which is a process-local 92 // Passes a reference to the file_ref_resource, which is a process-local
89 // resource corresponding to the body_as_file_ref host resource in |data|, 93 // resource corresponding to the body_as_file_ref host resource in |data|,
90 // if there is one. 94 // if there is one.
91 virtual PP_Resource CreateURLResponseInfo( 95 virtual PP_Resource CreateURLResponseInfo(
92 PP_Instance instance, 96 PP_Instance instance,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 PP_VideoDecoder_Profile profile) = 0; 172 PP_VideoDecoder_Profile profile) = 0;
169 #endif // !defined(OS_NACL) 173 #endif // !defined(OS_NACL)
170 174
171 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 175 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
172 }; 176 };
173 177
174 } // namespace thunk 178 } // namespace thunk
175 } // namespace ppapi 179 } // namespace ppapi
176 180
177 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 181 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_truetype_font_thunk.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698