Index: ppapi/thunk/ppb_browser_font_singleton_api.h |
diff --git a/ppapi/thunk/ppb_browser_font_singleton_api.h b/ppapi/thunk/ppb_browser_font_singleton_api.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0f31d254fc63f3d912198617fade6d63325505f2 |
--- /dev/null |
+++ b/ppapi/thunk/ppb_browser_font_singleton_api.h |
@@ -0,0 +1,28 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_ |
+#define PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_ |
+ |
+#include "ppapi/c/pp_instance.h" |
+#include "ppapi/c/pp_var.h" |
+#include "ppapi/shared_impl/singleton_resource_id.h" |
+ |
+namespace ppapi { |
+namespace thunk { |
+ |
+class PPB_BrowserFont_Singleton_API { |
+ public: |
+ virtual ~PPB_BrowserFont_Singleton_API() {} |
+ |
+ virtual PP_Var GetFontFamilies(PP_Instance instance) = 0; |
+ |
+ static const SingletonResourceID kSingletonResourceID = |
+ BROWSER_FONT_SINGLETON_ID; |
+}; |
+ |
+} // namespace thunk |
+} // namespace ppapi |
+ |
+#endif // PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_ |