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

Side by Side Diff: content/renderer/gpu/gpu_channel_host.h

Issue 7661031: Tag IPC::Channel::Listener implementations with OVERRIDE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « content/plugin/plugin_channel_base.h ('k') | content/renderer/gpu/transport_texture_host.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_RENDERER_GPU_GPU_CHANNEL_HOST_H_ 5 #ifndef CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_
6 #define CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ 6 #define CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 State state() const { return state_; } 52 State state() const { return state_; }
53 53
54 // Change state to kLost. 54 // Change state to kLost.
55 void SetStateLost(); 55 void SetStateLost();
56 56
57 // The GPU stats reported by the GPU process. 57 // The GPU stats reported by the GPU process.
58 void set_gpu_info(const GPUInfo& gpu_info); 58 void set_gpu_info(const GPUInfo& gpu_info);
59 const GPUInfo& gpu_info() const; 59 const GPUInfo& gpu_info() const;
60 60
61 // IPC::Channel::Listener implementation: 61 // IPC::Channel::Listener implementation:
62 virtual bool OnMessageReceived(const IPC::Message& msg); 62 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
63 virtual void OnChannelConnected(int32 peer_pid); 63 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
64 virtual void OnChannelError(); 64 virtual void OnChannelError() OVERRIDE;
65 65
66 // IPC::Message::Sender implementation: 66 // IPC::Message::Sender implementation:
67 virtual bool Send(IPC::Message* msg); 67 virtual bool Send(IPC::Message* msg);
68 68
69 // Create and connect to a command buffer in the GPU process. 69 // Create and connect to a command buffer in the GPU process.
70 CommandBufferProxy* CreateViewCommandBuffer( 70 CommandBufferProxy* CreateViewCommandBuffer(
71 int render_view_id, 71 int render_view_id,
72 CommandBufferProxy* share_group, 72 CommandBufferProxy* share_group,
73 const std::string& allowed_extensions, 73 const std::string& allowed_extensions,
74 const std::vector<int32>& attribs, 74 const std::vector<int32>& attribs,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 ProxyMap proxies_; 119 ProxyMap proxies_;
120 120
121 // This is a MessageFilter to intercept IPC messages related to transport 121 // This is a MessageFilter to intercept IPC messages related to transport
122 // textures. These messages are routed to TransportTextureHost. 122 // textures. These messages are routed to TransportTextureHost.
123 scoped_refptr<TransportTextureService> transport_texture_service_; 123 scoped_refptr<TransportTextureService> transport_texture_service_;
124 124
125 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost); 125 DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
126 }; 126 };
127 127
128 #endif // CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_ 128 #endif // CONTENT_RENDERER_GPU_GPU_CHANNEL_HOST_H_
OLDNEW
« no previous file with comments | « content/plugin/plugin_channel_base.h ('k') | content/renderer/gpu/transport_texture_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698