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

Unified Diff: chrome/renderer/pepper_plugin_delegate_impl.h

Issue 1697008: New Pepper API implementation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 months 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 | « build/all.gyp ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper_plugin_delegate_impl.h
===================================================================
--- chrome/renderer/pepper_plugin_delegate_impl.h (revision 0)
+++ chrome/renderer/pepper_plugin_delegate_impl.h (revision 0)
@@ -0,0 +1,27 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
+#define CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
+
+#include "base/basictypes.h"
+#include "webkit/glue/plugins/pepper_plugin_delegate.h"
+
+class RenderView;
+
+class PepperPluginDelegateImpl : public pepper::PluginDelegate {
+ public:
+ explicit PepperPluginDelegateImpl(RenderView* render_view);
+
+ // pepper::PluginDelegate implementation.
+ virtual PlatformImage2D* CreateImage2D(int width, int height);
+
+ private:
+ // Pointer to the RenderView that owns us.
+ RenderView* render_view_;
+
+ DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
+};
+
+#endif // CHROME_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
Property changes on: chrome/renderer/pepper_plugin_delegate_impl.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « build/all.gyp ('k') | chrome/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698