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

Side by Side Diff: content/common/gpu/gpu_channel_manager.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
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_command_buffer_stub.h » ('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) 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_CHANNEL_MANAGER_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_
6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_ 6 #define CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/hash_tables.h" 9 #include "base/hash_tables.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 GpuChannelManager(ChildThread* gpu_child_thread, 43 GpuChannelManager(ChildThread* gpu_child_thread,
44 GpuWatchdog* watchdog, 44 GpuWatchdog* watchdog,
45 base::MessageLoopProxy* io_message_loop, 45 base::MessageLoopProxy* io_message_loop,
46 base::WaitableEvent* shutdown_event); 46 base::WaitableEvent* shutdown_event);
47 virtual ~GpuChannelManager(); 47 virtual ~GpuChannelManager();
48 48
49 // Remove the channel for a particular renderer. 49 // Remove the channel for a particular renderer.
50 void RemoveChannel(int renderer_id); 50 void RemoveChannel(int renderer_id);
51 51
52 // Listener overrides. 52 // Listener overrides.
53 virtual bool OnMessageReceived(const IPC::Message& msg); 53 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
54 54
55 // Sender overrides. 55 // Sender overrides.
56 virtual bool Send(IPC::Message* msg); 56 virtual bool Send(IPC::Message* msg) OVERRIDE;
57 57
58 void LoseAllContexts(); 58 void LoseAllContexts();
59 59
60 ScopedRunnableMethodFactory<GpuChannelManager> method_factory_; 60 ScopedRunnableMethodFactory<GpuChannelManager> method_factory_;
61 61
62 int GenerateRouteID(); 62 int GenerateRouteID();
63 void AddRoute(int32 routing_id, IPC::Channel::Listener* listener); 63 void AddRoute(int32 routing_id, IPC::Channel::Listener* listener);
64 void RemoveRoute(int32 routing_id); 64 void RemoveRoute(int32 routing_id);
65 65
66 GpuChannel* LookupChannel(int32 renderer_id); 66 GpuChannel* LookupChannel(int32 renderer_id);
(...skipping 23 matching lines...) Expand all
90 // one channel for each renderer process that has connected to this GPU 90 // one channel for each renderer process that has connected to this GPU
91 // process. 91 // process.
92 typedef base::hash_map<int, scoped_refptr<GpuChannel> > GpuChannelMap; 92 typedef base::hash_map<int, scoped_refptr<GpuChannel> > GpuChannelMap;
93 GpuChannelMap gpu_channels_; 93 GpuChannelMap gpu_channels_;
94 GpuWatchdog* watchdog_; 94 GpuWatchdog* watchdog_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(GpuChannelManager); 96 DISALLOW_COPY_AND_ASSIGN(GpuChannelManager);
97 }; 97 };
98 98
99 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_ 99 #endif // CONTENT_COMMON_GPU_GPU_CHANNEL_MANAGER_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_command_buffer_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698