| Index: ppapi/proxy/plugin_globals.h
|
| diff --git a/ppapi/proxy/plugin_globals.h b/ppapi/proxy/plugin_globals.h
|
| index 014cb2615edb4b246a0526b79353851f988b373d..044cac7e25c049ea5df01d03ded33a6a0e3b7941 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 Preferences& prefs);
|
| +
|
| // Getters for the plugin-specific versions.
|
| PluginResourceTracker* plugin_resource_tracker() {
|
| return &plugin_resource_tracker_;
|
|
|