Revert 233414 "x11: Move XInput2 availability information out of..."
[chromium-blink-merge.git] / ppapi / thunk / ppb_browser_font_singleton_api.h
blobe5717d6285c0deacdcdd0b0be4fe2c8d2db02c86
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.
5 #ifndef PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_
6 #define PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_
8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/c/pp_var.h"
10 #include "ppapi/shared_impl/singleton_resource_id.h"
12 namespace ppapi {
13 namespace thunk {
15 class PPB_BrowserFont_Singleton_API {
16 public:
17 virtual ~PPB_BrowserFont_Singleton_API() {}
19 virtual PP_Var GetFontFamilies(PP_Instance instance) = 0;
21 static const SingletonResourceID kSingletonResourceID =
22 BROWSER_FONT_SINGLETON_ID;
25 } // namespace thunk
26 } // namespace ppapi
28 #endif // PPAPI_THUNK_PPB_BROWSER_FONT_SINGLETON_API_H_