Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
compositor_layer_samsung.h
1 /*
2  * Copyright (c) 2015 Samsung Electronics, Visual Display Division.
3  * All Rights Reserved.
4  *
5  * @author Michal Jurkiewicz <m.jurkiewicz@samsung.com>
6  *
7  * This source code is written basing on the Chromium source code.
8  *
9  * Copyright (c) 2014 The Chromium Authors. All rights reserved.
10  *
11  * Use of this source code is governed by a BSD-style license that can be
12  * found in the Chromium-LICENSE file.
13  */
14 
15 #ifndef PPAPI_CPP_SAMSUNG_COMPOSITOR_LAYER_SAMSUNG_H_
16 #define PPAPI_CPP_SAMSUNG_COMPOSITOR_LAYER_SAMSUNG_H_
17 
18 #include "ppapi/c/samsung/ppb_compositor_layer_samsung.h"
19 #include "ppapi/cpp/compositor_layer.h"
20 
21 namespace pp {
22 
24  public:
29 
35 
42 
47  explicit CompositorLayerSamsung(const Resource& resource);
48 
54  CompositorLayerSamsung(PassRef, PP_Resource resource);
55 
59 
77  int32_t SetBackgroundPlane(const Size& size);
78 
88  static bool IsCompositorLayerSamsung(const Resource& resource);
89 };
90 
91 } // namespace pp
92 
93 #endif // PPAPI_CPP_SAMSUNG_COMPOSITOR_LAYER_SAMSUNG_H_
static bool IsCompositorLayerSamsung(const Resource &resource)
A size of an object based on width and height.
Definition: size.h:18
Definition: compositor_layer_samsung.h:23
PassRef
Definition: pass_ref.h:17
int32_t SetBackgroundPlane(const Size &size)
Definition: compositor_layer.h:19
A reference counted module resource.
Definition: resource.h:20