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

Unified Diff: ppapi/thunk/interfaces_ppb_private.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/interfaces_ppb_private.h
diff --git a/ppapi/thunk/interfaces_ppb_private.h b/ppapi/thunk/interfaces_ppb_private.h
index db888b1748925abe37efc571086d9c65ca175ef8..12cc2fd5291986ef5835766d663dffb2511340ba 100644
--- a/ppapi/thunk/interfaces_ppb_private.h
+++ b/ppapi/thunk/interfaces_ppb_private.h
@@ -13,6 +13,8 @@ PROXIED_API(PPB_UDPSocket_Private)
PROXIED_IFACE(PPB_Broker, PPB_BROKER_TRUSTED_INTERFACE_0_2,
PPB_BrokerTrusted_0_2)
+PROXIED_IFACE(PPB_Instance, PPB_BROWSERFONT_TRUSTED_INTERFACE_1_0,
+ PPB_BrowserFont_Trusted_1_0)
PROXIED_IFACE(PPB_Instance, PPB_CHARSET_TRUSTED_INTERFACE_1_0,
PPB_CharSet_Trusted_1_0)
PROXIED_IFACE(PPB_FileRef, PPB_FILEREFPRIVATE_INTERFACE_0_1,
@@ -31,4 +33,10 @@ PROXIED_IFACE(PPB_TCPSocket_Private, PPB_TCPSOCKET_PRIVATE_INTERFACE_0_3,
PROXIED_IFACE(PPB_UDPSocket_Private, PPB_UDPSOCKET_PRIVATE_INTERFACE_0_2,
PPB_UDPSocket_Private_0_2)
+// Hack to keep font working. The Font 0.6 API is binary compatible with
+// BrowserFont 1.0, so just map the string to the same thing.
+// TODO(brettw) remove support for the old Font API.
+PROXIED_IFACE(PPB_Instance, PPB_FONT_DEV_INTERFACE_0_6,
viettrungluu 2012/02/15 04:37:24 I suppose you could also just remove the old ppb_f
+ PPB_BrowserFont_Trusted_1_0)
+
#include "ppapi/thunk/interfaces_postamble.h"

Powered by Google App Engine
This is Rietveld 408576698