| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index 1efebcae1eeae554fb1c2f3660339939f30a9b7e..59e1d867998d1a970f3cab74def0f4ec38a59c5a 100644
|
| --- a/content/common/gpu/gpu_channel.h
|
| +++ b/content/common/gpu/gpu_channel.h
|
| @@ -122,6 +122,13 @@ class GpuChannel : public IPC::Channel::Listener,
|
| // TransportTexture to delete and detach itself.
|
| void DestroyTransportTexture(int32 route_id);
|
|
|
| + // Generate a route ID guaranteed to be unique for this channel.
|
| + int GenerateRouteID();
|
| +
|
| + // Called to add/remove a listener for a particular message routing ID.
|
| + void AddRoute(int32 route_id, IPC::Channel::Listener* listener);
|
| + void RemoveRoute(int32 route_id);
|
| +
|
| private:
|
| void OnDestroy();
|
|
|
| @@ -129,8 +136,6 @@ class GpuChannel : public IPC::Channel::Listener,
|
|
|
| void HandleDeferredMessages();
|
|
|
| - int GenerateRouteID();
|
| -
|
| // Message handlers.
|
| void OnInitialize(base::ProcessHandle renderer_process);
|
| void OnCreateOffscreenCommandBuffer(
|
|
|