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

Unified Diff: ppapi/host/resource_host.h

Issue 11053003: Migrate Graphics2D to new design. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
Index: ppapi/host/resource_host.h
diff --git a/ppapi/host/resource_host.h b/ppapi/host/resource_host.h
index 27d87b366b36b847c96c3f5e94ab917bd570eac6..66d89702287317c2dc99c4f7b12a624683557d52 100644
--- a/ppapi/host/resource_host.h
+++ b/ppapi/host/resource_host.h
@@ -52,6 +52,8 @@ class PPAPI_HOST_EXPORT ResourceHost {
virtual int32_t OnResourceMessageReceived(const IPC::Message& msg,
HostMessageContext* context);
+ virtual bool IsGraphics2DHost() const { return false; }
+
private:
// The host that owns this object.
PpapiHost* host_;

Powered by Google App Engine
This is Rietveld 408576698