| Index: content/renderer/browser_plugin/mock_browser_plugin_texture_provider.cc | 
| diff --git a/content/renderer/browser_plugin/mock_browser_plugin_texture_provider.cc b/content/renderer/browser_plugin/mock_browser_plugin_texture_provider.cc | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..35e2ab0837a871e819c3d18044e0dd3a2e4d04d8 | 
| --- /dev/null | 
| +++ b/content/renderer/browser_plugin/mock_browser_plugin_texture_provider.cc | 
| @@ -0,0 +1,41 @@ | 
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#include "content/renderer/browser_plugin/mock_browser_plugin_texture_provider.h" | 
| + | 
| +#include "base/message_loop.h" | 
| +#include "content/common/browser_plugin_messages.h" | 
| +#include "content/renderer/browser_plugin/browser_plugin_compositing_filter.h" | 
| +#include "content/renderer/browser_plugin/browser_plugin_manager.h" | 
| +#include "content/renderer/browser_plugin/browser_plugin_manager_impl.h" | 
| +#include "content/renderer/render_view_impl.h" | 
| +#include "content/renderer/render_thread_impl.h" | 
| +#include "content/renderer/gpu/compositor_thread.h" | 
| + | 
| +#include "ui/gfx/size.h" | 
| + | 
| +using WebKit::WebFloatRect; | 
| + | 
| +namespace content { | 
| + | 
| +MockBrowserPluginTextureProvider::MockBrowserPluginTextureProvider( | 
| +    int instance_id, | 
| +    int host_routing_id, | 
| +    IPC::ChannelProxy* channel_proxy, | 
| +    scoped_refptr<base::MessageLoopProxy> message_loop) | 
| +  : BrowserPluginTextureProvider(instance_id, | 
| +                                 host_routing_id, | 
| +                                 channel_proxy, | 
| +                                 message_loop) { | 
| +} | 
| + | 
| +MockBrowserPluginTextureProvider::~MockBrowserPluginTextureProvider() { } | 
| + | 
| +bool MockBrowserPluginTextureProvider::IsOnCorrectThread() { return true; } | 
| + | 
| +void MockBrowserPluginTextureProvider::Destroy() { | 
| +  DestroyImpl(); | 
| +} | 
| + | 
| +}  // namespace content | 
|  |