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

Side by Side Diff: chrome/gpu/gpu_command_buffer_stub.h

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 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 | « chrome/gpu/gpu_channel.cc ('k') | chrome/gpu/gpu_command_buffer_stub.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_ 5 #ifndef CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_
6 #define CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_ 6 #define CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_GPU) 9 #if defined(ENABLE_GPU)
10 10
(...skipping 23 matching lines...) Expand all
34 const std::string& allowed_extensions, 34 const std::string& allowed_extensions,
35 const std::vector<int32>& attribs, 35 const std::vector<int32>& attribs,
36 uint32 parent_texture_id, 36 uint32 parent_texture_id,
37 int32 route_id, 37 int32 route_id,
38 int32 renderer_id, 38 int32 renderer_id,
39 int32 render_view_id); 39 int32 render_view_id);
40 40
41 virtual ~GpuCommandBufferStub(); 41 virtual ~GpuCommandBufferStub();
42 42
43 // IPC::Channel::Listener implementation: 43 // IPC::Channel::Listener implementation:
44 virtual void OnMessageReceived(const IPC::Message& message); 44 virtual bool OnMessageReceived(const IPC::Message& message);
45 45
46 // IPC::Message::Sender implementation: 46 // IPC::Message::Sender implementation:
47 virtual bool Send(IPC::Message* msg); 47 virtual bool Send(IPC::Message* msg);
48 48
49 // Get the GLContext associated with this object. 49 // Get the GLContext associated with this object.
50 gpu::GPUProcessor* processor() const { return processor_.get(); } 50 gpu::GPUProcessor* processor() const { return processor_.get(); }
51 51
52 // Identifies the various GpuCommandBufferStubs in the GPU process belonging 52 // Identifies the various GpuCommandBufferStubs in the GPU process belonging
53 // to the same renderer process. 53 // to the same renderer process.
54 int32 route_id() const { return route_id_; } 54 int32 route_id() const { return route_id_; }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 scoped_ptr<gpu::CommandBufferService> command_buffer_; 118 scoped_ptr<gpu::CommandBufferService> command_buffer_;
119 scoped_ptr<gpu::GPUProcessor> processor_; 119 scoped_ptr<gpu::GPUProcessor> processor_;
120 120
121 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 121 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
122 }; 122 };
123 123
124 #endif // defined(ENABLE_GPU) 124 #endif // defined(ENABLE_GPU)
125 125
126 #endif // CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_ 126 #endif // CHROME_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_channel.cc ('k') | chrome/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698