| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "base/process_util.h" | 6 #include "base/process_util.h" |
| 7 #include "chrome/common/command_buffer_messages.h" | 7 #include "chrome/common/command_buffer_messages.h" |
| 8 #include "chrome/common/plugin_messages.h" | 8 #include "chrome/common/plugin_messages.h" |
| 9 #include "chrome/renderer/command_buffer_proxy.h" | 9 #include "chrome/renderer/command_buffer_proxy.h" |
| 10 #include "chrome/renderer/plugin_channel_host.h" | 10 #include "chrome/renderer/plugin_channel_host.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 void CommandBufferProxy::SetToken(int32 token) { | 162 void CommandBufferProxy::SetToken(int32 token) { |
| 163 // Not implemented in proxy. | 163 // Not implemented in proxy. |
| 164 NOTREACHED(); | 164 NOTREACHED(); |
| 165 } | 165 } |
| 166 | 166 |
| 167 void CommandBufferProxy::SetParseError( | 167 void CommandBufferProxy::SetParseError( |
| 168 gpu::error::Error error) { | 168 gpu::error::Error error) { |
| 169 // Not implemented in proxy. | 169 // Not implemented in proxy. |
| 170 NOTREACHED(); | 170 NOTREACHED(); |
| 171 } | 171 } |
| 172 |
| 173 #if defined(OS_MACOSX) |
| 174 void CommandBufferProxy::SetWindowSize(int32 width, int32 height) { |
| 175 Send(new CommandBufferMsg_SetWindowSize(route_id_, width, height)); |
| 176 } |
| 177 #endif |
| 178 |
| OLD | NEW |