| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #if defined(OS_WIN) | 5 #if defined(OS_WIN) |
| 6 #include <windows.h> | 6 #include <windows.h> |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 #include "content/common/gpu/gpu_channel.h" | 9 #include "content/common/gpu/gpu_channel.h" |
| 10 | 10 |
| (...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 messages_processed_)); | 978 messages_processed_)); |
| 979 } | 979 } |
| 980 } | 980 } |
| 981 | 981 |
| 982 void GpuChannel::CacheShader(const std::string& key, | 982 void GpuChannel::CacheShader(const std::string& key, |
| 983 const std::string& shader) { | 983 const std::string& shader) { |
| 984 gpu_channel_manager_->Send( | 984 gpu_channel_manager_->Send( |
| 985 new GpuHostMsg_CacheShader(client_id_, key, shader)); | 985 new GpuHostMsg_CacheShader(client_id_, key, shader)); |
| 986 } | 986 } |
| 987 | 987 |
| 988 void GpuChannel::AddFilter(IPC::ChannelProxy::MessageFilter* filter) { |
| 989 channel_->AddFilter(filter); |
| 990 } |
| 991 |
| 992 void GpuChannel::RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) { |
| 993 channel_->RemoveFilter(filter); |
| 994 } |
| 995 |
| 988 } // namespace content | 996 } // namespace content |
| OLD | NEW |