Index: ppapi/proxy/plugin_globals.h |
diff --git a/ppapi/proxy/plugin_globals.h b/ppapi/proxy/plugin_globals.h |
index 014cb2615edb4b246a0526b79353851f988b373d..bb1d4b440fb229dbd9b7b5ea485859e67e827e6c 100644 |
--- a/ppapi/proxy/plugin_globals.h |
+++ b/ppapi/proxy/plugin_globals.h |
@@ -11,6 +11,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/lock.h" |
#include "base/threading/thread_local_storage.h" |
+#include "ppapi/proxy/connection.h" |
#include "ppapi/proxy/plugin_resource_tracker.h" |
#include "ppapi/proxy/plugin_var_tracker.h" |
#include "ppapi/proxy/ppapi_proxy_export.h" |
@@ -24,7 +25,12 @@ namespace IPC { |
class Sender; |
} |
+struct PP_BrowserFont_Trusted_Description; |
+ |
namespace ppapi { |
+ |
+struct Preferences; |
+ |
namespace proxy { |
class MessageLoopResource; |
@@ -79,6 +85,12 @@ class PPAPI_PROXY_EXPORT PluginGlobals : public PpapiGlobals { |
// Sets the active url which is reported by breakpad. |
void SetActiveURL(const std::string& url); |
+ PP_Resource CreateBrowserFont( |
+ Connection connection, |
+ PP_Instance instance, |
+ const PP_BrowserFont_Trusted_Description& desc, |
+ const ppapi::Preferences& prefs); |
yzshen1
2013/07/25 17:21:08
nit: ppapi:: is not needed.
scottmg
2013/07/25 17:39:49
Done.
|
+ |
// Getters for the plugin-specific versions. |
PluginResourceTracker* plugin_resource_tracker() { |
return &plugin_resource_tracker_; |