Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(775)

Unified Diff: webkit/plugins/ppapi/ppb_font_impl.h

Issue 7669055: Remove webkit::ppapi::Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nulls auditeed Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc ('k') | webkit/plugins/ppapi/ppb_font_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_font_impl.h
diff --git a/webkit/plugins/ppapi/ppb_font_impl.h b/webkit/plugins/ppapi/ppb_font_impl.h
index fce96be565225cc44082f59ceda2283f5fd87af2..9e89c9e072954b996fd0523fd92ad02207e82a10 100644
--- a/webkit/plugins/ppapi/ppb_font_impl.h
+++ b/webkit/plugins/ppapi/ppb_font_impl.h
@@ -8,9 +8,10 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "ppapi/c/dev/ppb_font_dev.h"
+#include "ppapi/shared_impl/function_group_base.h"
+#include "ppapi/shared_impl/resource.h"
#include "ppapi/shared_impl/webkit_forwarding.h"
#include "ppapi/thunk/ppb_font_api.h"
-#include "webkit/plugins/ppapi/resource.h"
namespace WebKit {
class WebFont;
@@ -21,12 +22,12 @@ namespace ppapi {
class PluginInstance;
-class PPB_Font_Impl : public Resource,
+class PPB_Font_Impl : public ::ppapi::Resource,
public ::ppapi::thunk::PPB_Font_API {
public:
virtual ~PPB_Font_Impl();
- static PP_Resource Create(PluginInstance* instance,
+ static PP_Resource Create(PP_Instance instance,
const PP_FontDescription_Dev& description);
// Resource.
@@ -48,7 +49,7 @@ class PPB_Font_Impl : public Resource,
uint32_t char_offset) OVERRIDE;
private:
- PPB_Font_Impl(PluginInstance* instance, const PP_FontDescription_Dev& desc);
+ PPB_Font_Impl(PP_Instance instance, const PP_FontDescription_Dev& desc);
scoped_ptr< ::ppapi::WebKitForwarding::Font> font_forwarding_;
« no previous file with comments | « webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc ('k') | webkit/plugins/ppapi/ppb_font_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698