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

Side by Side Diff: ppapi/proxy/ppapi_command_buffer_proxy.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
« no previous file with comments | « gpu/ipc/command_buffer_proxy.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 5 #ifndef PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 6 #define PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "gpu/command_buffer/common/command_buffer.h" 10 #include "gpu/command_buffer/common/command_buffer.h"
(...skipping 22 matching lines...) Expand all
33 virtual int GetRouteID() const OVERRIDE; 33 virtual int GetRouteID() const OVERRIDE;
34 virtual bool Echo(const base::Closure& callback) OVERRIDE; 34 virtual bool Echo(const base::Closure& callback) OVERRIDE;
35 virtual bool SetSurfaceVisible(bool visible) OVERRIDE; 35 virtual bool SetSurfaceVisible(bool visible) OVERRIDE;
36 virtual bool DiscardBackbuffer() OVERRIDE; 36 virtual bool DiscardBackbuffer() OVERRIDE;
37 virtual bool EnsureBackbuffer() OVERRIDE; 37 virtual bool EnsureBackbuffer() OVERRIDE;
38 virtual uint32 InsertSyncPoint() OVERRIDE; 38 virtual uint32 InsertSyncPoint() OVERRIDE;
39 virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE; 39 virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE;
40 virtual bool SignalSyncPoint(uint32 sync_point, 40 virtual bool SignalSyncPoint(uint32 sync_point,
41 const base::Closure& callback) OVERRIDE; 41 const base::Closure& callback) OVERRIDE;
42 virtual void SetMemoryAllocationChangedCallback( 42 virtual void SetMemoryAllocationChangedCallback(
43 const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& 43 const base::Callback<void(
44 callback) OVERRIDE; 44 const content::GpuMemoryAllocationForRenderer&)>& callback) OVERRIDE;
45 virtual bool SetParent(CommandBufferProxy* parent_command_buffer, 45 virtual bool SetParent(CommandBufferProxy* parent_command_buffer,
46 uint32 parent_texture_id) OVERRIDE; 46 uint32 parent_texture_id) OVERRIDE;
47 virtual void SetChannelErrorCallback(const base::Closure& callback) OVERRIDE; 47 virtual void SetChannelErrorCallback(const base::Closure& callback) OVERRIDE;
48 virtual void SetNotifyRepaintTask(const base::Closure& callback) OVERRIDE; 48 virtual void SetNotifyRepaintTask(const base::Closure& callback) OVERRIDE;
49 virtual void SetOnConsoleMessageCallback( 49 virtual void SetOnConsoleMessageCallback(
50 const GpuConsoleMessageCallback& callback) OVERRIDE; 50 const GpuConsoleMessageCallback& callback) OVERRIDE;
51 51
52 // gpu::CommandBuffer implementation: 52 // gpu::CommandBuffer implementation:
53 virtual bool Initialize(); 53 virtual bool Initialize();
54 virtual State GetState(); 54 virtual State GetState();
(...skipping 26 matching lines...) Expand all
81 81
82 base::Closure channel_error_callback_; 82 base::Closure channel_error_callback_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy); 84 DISALLOW_COPY_AND_ASSIGN(PpapiCommandBufferProxy);
85 }; 85 };
86 86
87 } // namespace proxy 87 } // namespace proxy
88 } // namespace ppapi 88 } // namespace ppapi
89 89
90 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_ 90 #endif // PPAPI_PROXY_COMMAND_BUFFER_PROXY_H_
OLDNEW
« no previous file with comments | « gpu/ipc/command_buffer_proxy.h ('k') | ppapi/proxy/ppapi_command_buffer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698