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

Unified Diff: webkit/plugins/ppapi/resource_creation_impl.cc

Issue 8414054: Hello Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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
« no previous file with comments | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/resource_creation_impl.cc
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index 2a02112cdbaee6277f744651168a2d0165e82fff..719f48905ab3e89e1fa1242617875d41b521246d 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -4,6 +4,7 @@
#include "webkit/plugins/ppapi/resource_creation_impl.h"
+#include "base/logging.h"
#include "ppapi/c/pp_size.h"
#include "ppapi/shared_impl/audio_config_impl.h"
#include "ppapi/shared_impl/input_event_impl.h"
@@ -23,6 +24,7 @@
#include "webkit/plugins/ppapi/ppb_font_impl.h"
#include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h"
#include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h"
+#include "webkit/plugins/ppapi/ppb_hello_impl.h"
#include "webkit/plugins/ppapi/ppb_image_data_impl.h"
#include "webkit/plugins/ppapi/ppb_scrollbar_impl.h"
#include "webkit/plugins/ppapi/ppb_surface_3d_impl.h"
@@ -178,6 +180,12 @@ PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
return PPB_Graphics3D_Impl::CreateRaw(instance, share_context, attrib_list);
}
+PP_Resource ResourceCreationImpl::CreateHello(PP_Instance instance)
+{
+ LOG(ERROR) << "CreateHello";
+ return PPB_Hello_Impl::Create(instance);
+}
+
PP_Resource ResourceCreationImpl::CreateImageData(PP_Instance instance,
PP_ImageDataFormat format,
const PP_Size& size,
« no previous file with comments | « webkit/plugins/ppapi/resource_creation_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698