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

Unified Diff: webkit/plugins/ppapi/ppb_video_layer_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_video_decoder_impl.cc ('k') | webkit/plugins/ppapi/ppb_video_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_video_layer_impl.h
diff --git a/webkit/plugins/ppapi/ppb_video_layer_impl.h b/webkit/plugins/ppapi/ppb_video_layer_impl.h
index 7449b57effed4774c588dcce37878594c50d4336..c0829573074defe3041253ce79bb3df70e064009 100644
--- a/webkit/plugins/ppapi/ppb_video_layer_impl.h
+++ b/webkit/plugins/ppapi/ppb_video_layer_impl.h
@@ -5,8 +5,9 @@
#ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
#define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
+#include "base/compiler_specific.h"
+#include "ppapi/shared_impl/resource.h"
#include "ppapi/thunk/ppb_video_layer_api.h"
-#include "webkit/plugins/ppapi/resource.h"
struct PP_Rect;
struct PP_Size;
@@ -14,14 +15,12 @@ struct PP_Size;
namespace webkit {
namespace ppapi {
-class PluginInstance;
-
-class PPB_VideoLayer_Impl : public Resource,
+class PPB_VideoLayer_Impl : public ::ppapi::Resource,
public ::ppapi::thunk::PPB_VideoLayer_API {
public:
virtual ~PPB_VideoLayer_Impl();
- static PP_Resource Create(PluginInstance* instance,
+ static PP_Resource Create(PP_Instance instance,
PP_VideoLayerMode_Dev mode);
// Resource override.
@@ -30,7 +29,7 @@ class PPB_VideoLayer_Impl : public Resource,
// Derived classes must implement PPB_VideoLayer_API.
protected:
- explicit PPB_VideoLayer_Impl(PluginInstance* instance);
+ explicit PPB_VideoLayer_Impl(PP_Instance instance);
private:
DISALLOW_COPY_AND_ASSIGN(PPB_VideoLayer_Impl);
« no previous file with comments | « webkit/plugins/ppapi/ppb_video_decoder_impl.cc ('k') | webkit/plugins/ppapi/ppb_video_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698