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_ |