blob: 091608fcce52534d3baab257a09fafe9e7676def (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
#define WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
#include "ppapi/thunk/ppb_video_layer_api.h"
#include "webkit/plugins/ppapi/resource.h"
struct PP_Rect;
struct PP_Size;
namespace webkit {
namespace ppapi {
class PluginInstance;
class PPB_VideoLayer_Impl : public Resource,
public ::ppapi::thunk::PPB_VideoLayer_API {
public:
virtual ~PPB_VideoLayer_Impl();
static PP_Resource Create(PluginInstance* instance,
PP_VideoLayerMode_Dev mode);
// ResourceObjectBase override.
virtual PPB_VideoLayer_API* AsPPB_VideoLayer_API() OVERRIDE;
// Derived classes must implement PPB_VideoLayer_API.
protected:
explicit PPB_VideoLayer_Impl(PluginInstance* instance);
private:
DISALLOW_COPY_AND_ASSIGN(PPB_VideoLayer_Impl);
};
} // namespace ppapi
} // namespace webkit
#endif // WEBKIT_PLUGINS_PPAPI_PPB_VIDEO_LAYER_IMPL_H_
|