• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_
6 #define PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_
7 
8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_var.h"
10 #include "ppapi/shared_impl/singleton_resource_id.h"
11 
12 namespace ppapi {
13 namespace thunk {
14 
15 class PPB_BrowserFont_Singleton_API {
16  public:
~PPB_BrowserFont_Singleton_API()17   virtual ~PPB_BrowserFont_Singleton_API() {}
18 
19   virtual PP_Var GetFontFamilies(PP_Instance instance) = 0;
20 
21   static const SingletonResourceID kSingletonResourceID =
22       BROWSER_FONT_SINGLETON_ID;
23 };
24 
25 }  // namespace thunk
26 }  // namespace ppapi
27 
28 #endif  // PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_
29