| 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 #include "ppapi/shared_impl/webkit_forwarding.h" | 5 #include "ppapi/shared_impl/webkit_forwarding.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 | 8 |
| 9 namespace ppapi { |
| 10 struct Preferences; |
| 11 } |
| 12 |
| 9 namespace webkit { | 13 namespace webkit { |
| 10 namespace ppapi { | 14 namespace ppapi { |
| 11 | 15 |
| 12 class WebKitForwardingImpl : public ::ppapi::WebKitForwarding { | 16 class WebKitForwardingImpl : public ::ppapi::WebKitForwarding { |
| 13 public: | 17 public: |
| 14 WebKitForwardingImpl(); | 18 WebKitForwardingImpl(); |
| 15 virtual ~WebKitForwardingImpl(); | 19 virtual ~WebKitForwardingImpl(); |
| 16 | 20 |
| 17 virtual void CreateFontForwarding(base::WaitableEvent* event, | 21 virtual void CreateFontForwarding(base::WaitableEvent* event, |
| 18 const PP_FontDescription_Dev& desc, | 22 const PP_FontDescription_Dev& desc, |
| 19 const std::string& desc_face, | 23 const std::string& desc_face, |
| 24 const ::ppapi::Preferences& prefs, |
| 20 Font** result) OVERRIDE; | 25 Font** result) OVERRIDE; |
| 21 }; | 26 }; |
| 22 | 27 |
| 23 } // namespace ppapi | 28 } // namespace ppapi |
| 24 } // namespace webkit | 29 } // namespace webkit |
| OLD | NEW |