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

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

Issue 5828003: Move the Pepper implementation from webkit/glue/plugins/pepper_* to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/mock_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/mock_plugin_delegate.cc
===================================================================
--- webkit/plugins/ppapi/mock_plugin_delegate.cc (revision 0)
+++ webkit/plugins/ppapi/mock_plugin_delegate.cc (working copy)
@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/glue/plugins/mock_plugin_delegate.h"
+#include "webkit/plugins/ppapi/mock_plugin_delegate.h"
#include "base/message_loop_proxy.h"
-namespace pepper {
+namespace webkit {
+namespace ppapi {
MockPluginDelegate::MockPluginDelegate() {
}
@@ -14,10 +15,10 @@
MockPluginDelegate::~MockPluginDelegate() {
}
-void MockPluginDelegate::InstanceCreated(pepper::PluginInstance* instance) {
+void MockPluginDelegate::InstanceCreated(PluginInstance* instance) {
}
-void MockPluginDelegate::InstanceDeleted(pepper::PluginInstance* instance) {
+void MockPluginDelegate::InstanceDeleted(PluginInstance* instance) {
}
MockPluginDelegate::PlatformImage2D* MockPluginDelegate::CreateImage2D(
@@ -149,7 +150,7 @@
base::PlatformFileError MockPluginDelegate::GetModuleLocalDirContents(
const std::string& module_name,
const FilePath& path,
- PepperDirContents* contents) {
+ DirContents* contents) {
return base::PLATFORM_FILE_ERROR_FAILED;
}
@@ -184,4 +185,6 @@
void MockPluginDelegate::SetContentRestriction(int restrictions) {
}
-} // namespace pepper
+} // namespace ppapi
+} // namespace webkit
+
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.h ('k') | webkit/plugins/ppapi/mock_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698