Index: content/renderer/pepper_parent_context_provider.h |
=================================================================== |
--- content/renderer/pepper_parent_context_provider.h (revision 0) |
+++ content/renderer/pepper_parent_context_provider.h (revision 0) |
@@ -0,0 +1,20 @@ |
+// Copyright (c) 2011 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 CONTENT_RENDERER_PEPPER_PARENT_CONTEXT_PROVIDER_H_ |
+#define CONTENT_RENDERER_PEPPER_PARENT_CONTEXT_PROVIDER_H_ |
+#pragma once |
+ |
+class RendererGLContext; |
+ |
+// Defines the mechanism by which a Pepper 3D context fetches its |
+// parent context for display to the screen. |
+class PepperParentContextProvider { |
+ public: |
+ virtual ~PepperParentContextProvider(); |
+ |
+ virtual RendererGLContext* GetParentContextForPlatformContext3D() = 0; |
apatrick_chromium
2011/10/19 18:24:27
You could add DISALLOW_COPY_AND_ASSIGN here and ad
Ken Russell (switch to Gerrit)
2011/10/19 22:04:45
Right, I should have done that according to the st
|
+}; |
+ |
+#endif // CONTENT_RENDERER_PEPPER_PARENT_CONTEXT_PROVIDER_H_ |
Property changes on: content/renderer/pepper_parent_context_provider.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |