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

Unified Diff: ppapi/shared_impl/ppapi_globals.h

Issue 10091003: Convert flash to thunk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/shared_impl/ppapi_globals.h
diff --git a/ppapi/shared_impl/ppapi_globals.h b/ppapi/shared_impl/ppapi_globals.h
index d83e9c6ca7d7ddd905954bb029a2decdd4e45491..cef077a53292fd558c4281bfd2ceafe70408d401 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 GetCommandLine() = 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;

Powered by Google App Engine
This is Rietveld 408576698