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

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

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: webkit/plugins/ppapi/mock_plugin_delegate.cc
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc
index 7de9f91a545181e56bd0809716672068538764cd..f6dbaf398e537425f61f216d54cb601e40658a8e 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc
@@ -10,6 +10,7 @@
#include "ppapi/shared_impl/ppapi_preferences.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.h"
#include "webkit/plugins/ppapi/mock_platform_image_2d.h"
+#include "webkit/plugins/ppapi/plugin_delegate.h"
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
namespace webkit {
@@ -77,6 +78,12 @@ MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D(
return new MockPlatformImage2D(width, height);
}
+PluginDelegate::PlatformGraphics2D* MockPluginDelegate::GetGraphics2D(
+ PluginInstance* instance,
+ PP_Resource graphics_2d) {
+ return NULL;
+}
+
MockPluginDelegate::PlatformContext3D* MockPluginDelegate::CreateContext3D() {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698