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

Side by Side Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
6 #define CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 6 #define CONTENT_COMMON_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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 gfx::GpuPreference gpu_preference, 51 gfx::GpuPreference gpu_preference,
52 int32 route_id, 52 int32 route_id,
53 int32 renderer_id, 53 int32 renderer_id,
54 int32 render_view_id, 54 int32 render_view_id,
55 GpuWatchdog* watchdog, 55 GpuWatchdog* watchdog,
56 bool software); 56 bool software);
57 57
58 virtual ~GpuCommandBufferStub(); 58 virtual ~GpuCommandBufferStub();
59 59
60 // IPC::Channel::Listener implementation: 60 // IPC::Channel::Listener implementation:
61 virtual bool OnMessageReceived(const IPC::Message& message); 61 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
62 62
63 // IPC::Message::Sender implementation: 63 // IPC::Message::Sender implementation:
64 virtual bool Send(IPC::Message* msg); 64 virtual bool Send(IPC::Message* msg) OVERRIDE;
65 65
66 // Whether this command buffer can currently handle IPC messages. 66 // Whether this command buffer can currently handle IPC messages.
67 bool IsScheduled(); 67 bool IsScheduled();
68 68
69 gpu::gles2::GLES2Decoder* decoder() const { return decoder_.get(); } 69 gpu::gles2::GLES2Decoder* decoder() const { return decoder_.get(); }
70 gpu::GpuScheduler* scheduler() const { return scheduler_.get(); } 70 gpu::GpuScheduler* scheduler() const { return scheduler_.get(); }
71 71
72 // Identifies the renderer process. 72 // Identifies the renderer process.
73 int32 renderer_id() const { return renderer_id_; } 73 int32 renderer_id() const { return renderer_id_; }
74 74
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_; 175 IDMap<GpuVideoDecodeAccelerator, IDMapOwnPointer> video_decoders_;
176 176
177 ScopedRunnableMethodFactory<GpuCommandBufferStub> task_factory_; 177 ScopedRunnableMethodFactory<GpuCommandBufferStub> task_factory_;
178 178
179 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub); 179 DISALLOW_COPY_AND_ASSIGN(GpuCommandBufferStub);
180 }; 180 };
181 181
182 #endif // defined(ENABLE_GPU) 182 #endif // defined(ENABLE_GPU)
183 183
184 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_ 184 #endif // CONTENT_COMMON_GPU_GPU_COMMAND_BUFFER_STUB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel_manager.h ('k') | content/common/gpu/media/gpu_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698