| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_PROXY_PPB_FONT_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_FONT_PROXY_H_ |
| 6 #define PPAPI_PROXY_PPB_FONT_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_FONT_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
| 13 #include "ppapi/proxy/interface_proxy.h" | 13 #include "ppapi/proxy/interface_proxy.h" |
| 14 #include "ppapi/shared_impl/function_group_base.h" | 14 #include "ppapi/shared_impl/function_group_base.h" |
| 15 #include "ppapi/shared_impl/host_resource.h" | 15 #include "ppapi/shared_impl/host_resource.h" |
| 16 #include "ppapi/shared_impl/resource.h" | 16 #include "ppapi/shared_impl/resource.h" |
| 17 #include "ppapi/shared_impl/webkit_forwarding.h" | 17 #include "ppapi/shared_impl/webkit_forwarding.h" |
| 18 #include "ppapi/thunk/ppb_font_api.h" | 18 #include "ppapi/thunk/ppb_font_api.h" |
| 19 | 19 |
| 20 struct PPB_Font_Dev; | 20 struct PPB_Font_Dev; |
| 21 | 21 |
| 22 namespace pp { | 22 namespace ppapi { |
| 23 namespace proxy { | 23 namespace proxy { |
| 24 | 24 |
| 25 class SerializedVarReturnValue; | 25 class SerializedVarReturnValue; |
| 26 | 26 |
| 27 class PPB_Font_Proxy : public ppapi::FunctionGroupBase, | 27 class PPB_Font_Proxy : public ppapi::FunctionGroupBase, |
| 28 public ppapi::thunk::PPB_Font_FunctionAPI, | 28 public ppapi::thunk::PPB_Font_FunctionAPI, |
| 29 public InterfaceProxy { | 29 public InterfaceProxy { |
| 30 public: | 30 public: |
| 31 PPB_Font_Proxy(Dispatcher* dispatcher, const void* target_interface); | 31 PPB_Font_Proxy(Dispatcher* dispatcher, const void* target_interface); |
| 32 virtual ~PPB_Font_Proxy(); | 32 virtual ~PPB_Font_Proxy(); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 // This class owns |font_forwarding_|. | 89 // This class owns |font_forwarding_|. |
| 90 // |font_forwarding_| should always be used on the WebKit thread (including | 90 // |font_forwarding_| should always be used on the WebKit thread (including |
| 91 // destruction). | 91 // destruction). |
| 92 ppapi::WebKitForwarding::Font* font_forwarding_; | 92 ppapi::WebKitForwarding::Font* font_forwarding_; |
| 93 | 93 |
| 94 DISALLOW_COPY_AND_ASSIGN(Font); | 94 DISALLOW_COPY_AND_ASSIGN(Font); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace proxy | 97 } // namespace proxy |
| 98 } // namespace pp | 98 } // namespace ppapi |
| 99 | 99 |
| 100 #endif // PPAPI_PROXY_PPB_FONT_PROXY_H_ | 100 #endif // PPAPI_PROXY_PPB_FONT_PROXY_H_ |
| OLD | NEW |