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

Unified Diff: ppapi/thunk/resource_creation_api.h

Issue 9360045: Rename PPB_Font to PPB_BrowserFont_Trusted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REQUIRED CHANGELIST DESCRIPTIONS ARE A WASTE OF TIME 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/thunk/resource_creation_api.h
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h
index ccfe7a59cb9ce9fb74dc2c172e718d077e8b247e..05c90c26bcfc3269e6ed8ec5a555342c21b0b0d0 100644
--- a/ppapi/thunk/resource_creation_api.h
+++ b/ppapi/thunk/resource_creation_api.h
@@ -23,7 +23,7 @@
#include "ppapi/shared_impl/api_id.h"
struct PP_Flash_Menu;
-struct PP_FontDescription_Dev;
+struct PP_BrowserFont_Trusted_Description;
struct PP_Size;
namespace ppapi {
@@ -56,6 +56,9 @@ class ResourceCreationAPI {
void* user_data) = 0;
virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) = 0;
virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
+ virtual PP_Resource CreateBrowserFont(
+ PP_Instance instance,
+ const PP_BrowserFont_Trusted_Description* description) = 0;
virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) = 0;
virtual PP_Resource CreateFileChooser(
@@ -71,10 +74,6 @@ class ResourceCreationAPI {
const PP_Flash_Menu* menu_data) = 0;
virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0;
virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0;
- // Note: can't be called CreateFont due to Windows #defines.
- virtual PP_Resource CreateFontObject(
- PP_Instance instance,
- const PP_FontDescription_Dev* description) = 0;
virtual PP_Resource CreateGraphics2D(PP_Instance instance,
const PP_Size& size,
PP_Bool is_always_opaque) = 0;

Powered by Google App Engine
This is Rietveld 408576698