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

Side by Side Diff: content/renderer/pepper/pepper_platform_context_3d_impl.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 12 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
13 #include "webkit/plugins/ppapi/plugin_delegate.h" 13 #include "webkit/plugins/ppapi/plugin_delegate.h"
14 14
15 #ifdef ENABLE_GPU 15 #ifdef ENABLE_GPU
16 16
17 class CommandBufferProxy;
17 namespace gpu { 18 namespace gpu {
18
19 class CommandBuffer; 19 class CommandBuffer;
20
21 } // namespace gpu 20 } // namespace gpu
22 21
23 class CommandBufferProxy; 22 namespace content {
24 class GpuChannelHost; 23 class GpuChannelHost;
25 class ContentGLContext;
26
27 namespace content {
28 24
29 class PepperParentContextProvider; 25 class PepperParentContextProvider;
30 26
31 class PlatformContext3DImpl 27 class PlatformContext3DImpl
32 : public webkit::ppapi::PluginDelegate::PlatformContext3D { 28 : public webkit::ppapi::PluginDelegate::PlatformContext3D {
33 public: 29 public:
34 explicit PlatformContext3DImpl( 30 explicit PlatformContext3DImpl(
35 PepperParentContextProvider* parent_context_provider); 31 PepperParentContextProvider* parent_context_provider);
36 virtual ~PlatformContext3DImpl(); 32 virtual ~PlatformContext3DImpl();
37 33
(...skipping 26 matching lines...) Expand all
64 base::Closure context_lost_callback_; 60 base::Closure context_lost_callback_;
65 ConsoleMessageCallback console_message_callback_; 61 ConsoleMessageCallback console_message_callback_;
66 base::WeakPtrFactory<PlatformContext3DImpl> weak_ptr_factory_; 62 base::WeakPtrFactory<PlatformContext3DImpl> weak_ptr_factory_;
67 }; 63 };
68 64
69 } // namespace content 65 } // namespace content
70 66
71 #endif // ENABLE_GPU 67 #endif // ENABLE_GPU
72 68
73 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ 69 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_parent_context_provider.h ('k') | content/renderer/plugin_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698