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

Unified Diff: chrome/renderer/pepper_platform_context_3d_impl.h

Issue 6685072: Move a bunch more random files from chrome\renderer to content\renderer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « chrome/renderer/paint_aggregator_unittest.cc ('k') | chrome/renderer/pepper_platform_context_3d_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper_platform_context_3d_impl.h
===================================================================
--- chrome/renderer/pepper_platform_context_3d_impl.h (revision 78620)
+++ chrome/renderer/pepper_platform_context_3d_impl.h (working copy)
@@ -1,56 +0,0 @@
-// 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 CHROME_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_
-#define CHROME_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_
-
-#include "base/callback.h"
-#include "base/scoped_callback_factory.h"
-#include "base/scoped_ptr.h"
-#include "base/weak_ptr.h"
-#include "webkit/plugins/ppapi/plugin_delegate.h"
-
-#ifdef ENABLE_GPU
-
-namespace gpu {
-
-class CommandBuffer;
-
-} // namespace gpu
-
-namespace ggl {
-
-class Context;
-
-} // namespace ggl;
-
-class GpuChannelHost;
-class CommandBufferProxy;
-
-class PlatformContext3DImpl
- : public webkit::ppapi::PluginDelegate::PlatformContext3D {
- public:
- explicit PlatformContext3DImpl(ggl::Context* parent_context);
- virtual ~PlatformContext3DImpl();
-
- virtual bool Init();
- virtual void SetSwapBuffersCallback(Callback0::Type* callback);
- virtual unsigned GetBackingTextureId();
- virtual gpu::CommandBuffer* GetCommandBuffer();
- virtual void SetContextLostCallback(Callback0::Type* callback);
-
- private:
- bool InitRaw();
- void OnContextLost();
-
- base::WeakPtr<ggl::Context> parent_context_;
- scoped_refptr<GpuChannelHost> channel_;
- unsigned int parent_texture_id_;
- CommandBufferProxy* command_buffer_;
- scoped_ptr<Callback0::Type> context_lost_callback_;
- base::ScopedCallbackFactory<PlatformContext3DImpl> callback_factory_;
-};
-
-#endif // ENABLE_GPU
-
-#endif // CHROME_RENDERER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_
« no previous file with comments | « chrome/renderer/paint_aggregator_unittest.cc ('k') | chrome/renderer/pepper_platform_context_3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698