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

Unified Diff: content/common/gpu/gpu_channel_manager.h

Issue 634313002: Add mouse input forwarding to gpu service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test race Created 6 years 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 | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel_manager.h
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h
index c00380ab04a75b847d03c1b2b98d74a96b925b76..e8c9b5f5ee4ed2757cf6360d9a61062eb509fb59 100644
--- a/content/common/gpu/gpu_channel_manager.h
+++ b/content/common/gpu/gpu_channel_manager.h
@@ -15,6 +15,8 @@
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop_proxy.h"
#include "build/build_config.h"
+#include "content/common/content_export.h"
+#include "content/common/content_param_traits.h"
#include "content/common/gpu/devtools_gpu_instrumentation.h"
#include "content/common/gpu/gpu_memory_manager.h"
#include "ipc/ipc_listener.h"
@@ -34,6 +36,7 @@ struct GpuMemoryBufferHandle;
namespace gpu {
class SyncPointManager;
+union ValueState;
namespace gles2 {
class MailboxManager;
class ProgramCache;
@@ -58,7 +61,7 @@ class MessageRouter;
// A GpuChannelManager is a thread responsible for issuing rendering commands
// managing the lifetimes of GPU channels and forwarding IPC requests from the
// browser process to them based on the corresponding renderer ID.
-class GpuChannelManager : public IPC::Listener,
+class CONTENT_EXPORT GpuChannelManager : public IPC::Listener,
public IPC::Sender {
public:
GpuChannelManager(MessageRouter* router,
@@ -129,9 +132,14 @@ class GpuChannelManager : public IPC::Listener,
void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
int client_id,
int32 sync_point);
+
void OnRelinquishResources();
void OnResourcesRelinquished();
+ void OnUpdateValueState(int client_id,
+ unsigned int target,
+ const gpu::ValueState& state);
+
void OnLoseAllContexts();
scoped_refptr<base::MessageLoopProxy> io_message_loop_;
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698