Index: ppapi/shared_impl/ppapi_globals.h |
diff --git a/ppapi/shared_impl/ppapi_globals.h b/ppapi/shared_impl/ppapi_globals.h |
index d83e9c6ca7d7ddd905954bb029a2decdd4e45491..b1c387932285c8763811ec74f8f52771c69b1be0 100644 |
--- a/ppapi/shared_impl/ppapi_globals.h |
+++ b/ppapi/shared_impl/ppapi_globals.h |
@@ -95,6 +95,14 @@ class PPAPI_SHARED_EXPORT PpapiGlobals { |
// failure. |
virtual PP_Module GetModuleForInstance(PP_Instance instance) = 0; |
+ // Returns the command line for the process. |
+ virtual std::string GetCmdLine() = 0; |
+ |
+ // Preloads the font on Windows, does nothing on other platforms. |
+ // TODO(brettw) remove this by passing the instance into the API so we don't |
+ // have to have it on the globals. |
+ virtual void PreCacheFontForFlash(const void* logfontw) = 0; |
+ |
virtual bool IsHostGlobals() const; |
virtual bool IsPluginGlobals() const; |