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