| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 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_PROXY_PPB_FONT_PROXY_H_ | |
| 6 #define PPAPI_PROXY_PPB_FONT_PROXY_H_ | |
| 7 | |
| 8 #include "base/callback_forward.h" | |
| 9 #include "ppapi/proxy/interface_proxy.h" | |
| 10 #include "ppapi/shared_impl/function_group_base.h" | |
| 11 #include "ppapi/shared_impl/host_resource.h" | |
| 12 #include "ppapi/shared_impl/resource.h" | |
| 13 #include "ppapi/thunk/ppb_font_api.h" | |
| 14 | |
| 15 namespace ppapi { | |
| 16 namespace proxy { | |
| 17 | |
| 18 class PPB_Font_Proxy : public InterfaceProxy, | |
| 19 public ppapi::thunk::PPB_Font_FunctionAPI { | |
| 20 public: | |
| 21 explicit PPB_Font_Proxy(Dispatcher* dispatcher); | |
| 22 virtual ~PPB_Font_Proxy(); | |
| 23 | |
| 24 // FunctionGroupBase overrides. | |
| 25 virtual ppapi::thunk::PPB_Font_FunctionAPI* AsPPB_Font_FunctionAPI() OVERRIDE; | |
| 26 | |
| 27 // PPB_Font_FunctionAPI implementation. | |
| 28 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; | |
| 29 | |
| 30 // InterfaceProxy implementation. | |
| 31 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | |
| 32 | |
| 33 static const ApiID kApiID = API_ID_PPB_FONT; | |
| 34 | |
| 35 private: | |
| 36 DISALLOW_COPY_AND_ASSIGN(PPB_Font_Proxy); | |
| 37 }; | |
| 38 | |
| 39 } // namespace proxy | |
| 40 } // namespace ppapi | |
| 41 | |
| 42 #endif // PPAPI_PROXY_PPB_FONT_PROXY_H_ | |
| OLD | NEW |