summaryrefslogtreecommitdiffstats
path: root/ppapi/host/resource_host.h
diff options
context:
space:
mode:
authorpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-14 08:41:25 +0000
committerpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-14 08:41:25 +0000
commit97822570502d25e9ca3b518ddc93cb1308cdd460 (patch)
tree30a4cae3531ae6b6bdb56d718ff60b978cb22b1b /ppapi/host/resource_host.h
parent59f9fd37bd451f7eeed24919a7fe060f2d39cb54 (diff)
downloadchromium_src-97822570502d25e9ca3b518ddc93cb1308cdd460.zip
chromium_src-97822570502d25e9ca3b518ddc93cb1308cdd460.tar.gz
chromium_src-97822570502d25e9ca3b518ddc93cb1308cdd460.tar.bz2
[PPAPI] Compositor API implementation.
Implement the compositor API which allows a plugin to combine different sources of visual data efficiently, such as PPB_ImageData and OpengGL texture. API Proposal http://goo.gl/V7xcu3 BUG=374383 Review URL: https://codereview.chromium.org/298023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/host/resource_host.h')
-rw-r--r--ppapi/host/resource_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/host/resource_host.h b/ppapi/host/resource_host.h
index a9518ee..a2d3885 100644
--- a/ppapi/host/resource_host.h
+++ b/ppapi/host/resource_host.h
@@ -56,6 +56,7 @@ class PPAPI_HOST_EXPORT ResourceHost : public ResourceMessageHandler {
// Simple RTTI. A subclass that is a host for one of these APIs will override
// the appropriate function and return true.
+ virtual bool IsCompositorHost();
virtual bool IsFileRefHost();
virtual bool IsFileSystemHost();
virtual bool IsGraphics2DHost();