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

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

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/fullscreen_container.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/mock_plugin_delegate.h
===================================================================
--- webkit/plugins/ppapi/mock_plugin_delegate.h (revision 0)
+++ webkit/plugins/ppapi/mock_plugin_delegate.h (working copy)
@@ -2,20 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_GLUE_PLUGINS_MOCK_PLUGIN_DELEGATE_H_
-#define WEBKIT_GLUE_PLUGINS_MOCK_PLUGIN_DELEGATE_H_
+#ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
+#define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
-#include "webkit/glue/plugins/pepper_plugin_delegate.h"
+#include "webkit/plugins/ppapi/plugin_delegate.h"
-namespace pepper {
+namespace webkit {
+namespace ppapi {
class MockPluginDelegate : public PluginDelegate {
public:
MockPluginDelegate();
~MockPluginDelegate();
- virtual void InstanceCreated(pepper::PluginInstance* instance);
- virtual void InstanceDeleted(pepper::PluginInstance* instance);
+ virtual void InstanceCreated(PluginInstance* instance);
+ virtual void InstanceDeleted(PluginInstance* instance);
virtual PlatformImage2D* CreateImage2D(int width, int height);
virtual PlatformContext3D* CreateContext3D();
virtual PlatformVideoDecoder* CreateVideoDecoder(
@@ -79,7 +80,7 @@
virtual base::PlatformFileError GetModuleLocalDirContents(
const std::string& module_name,
const FilePath& path,
- PepperDirContents* contents);
+ DirContents* contents);
virtual scoped_refptr<base::MessageLoopProxy>
GetFileThreadMessageLoopProxy();
virtual FullscreenContainer* CreateFullscreenContainer(
@@ -93,6 +94,7 @@
virtual void SetContentRestriction(int restrictions);
};
-} // namespace pepper
+} // namespace ppapi
+} // namespace webkit
-#endif // WEBKIT_GLUE_PLUGINS_MOCK_PLUGIN_DELEGATE_H_
+#endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
« no previous file with comments | « webkit/plugins/ppapi/fullscreen_container.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698